Linkerproblem mit Source von web500gw (Browser2LDAP Gateway)
Frank Matthieß
Frank.Matthiess at t-online.de
Thu Jul 22 19:43:04 CEST 1999
Ich versuche eine Source zu kompilieren. Beim Linken der Module findet er die
Lib's nicht.
[ruth at server web500gw-2.1b3]# make
gcc -o web500gw web500gw.o read.o search.o bind.o modify.o add.o delete.o
modrdn.o navigation.o util.o web_util.o dir_util.o ldap2html.o messages.o
init.o config.o detach.o setproctitle.o gwversion.o -llibldap -lliblber
/usr/bin/ld: cannot open -llibldap: Datei oder Verzeichnis nicht gefunden
collect2: ld returned 1 exit status
make: *** [web500gw] Error 1
Mit ls habe ich die Existenz überprüft:
[ruth at server web500gw-2.1b3]#ls /usr/lib/libl*
/usr/lib/liblber.a /usr/lib/liblber.so.1
/usr/lib/libldap.a
/usr/lib/libldap.so.1 /usr/lib/liblber.so
/usr/lib/liblber.so.1.0.0
/usr/lib/libldap.so /usr/lib/libldap.so.1.0.0
Aus dem Makefile:
---schipp---
########################################################
# What LDAP package you have installed ... and where?
########################################################
#
## If you use OpenLDAP 1.0 or U-Mich LDAP 3.3 package (recommended)
# If the LDAP include files and libraries installed in standard places
# (/usr/lib, /usr/include) use this:
LDAPINCL =
LDAPLIBS = -llibldap -lliblber
# set LDAPVERSION (32 for ldap-3.2, 33 for 3.3 etc)
LDAPVERSION = 33
VERSION = 3.3
---schnapp---
Die Zeile mit LDAPLIBS = -lldap -llber
habe ich auf LDAPLIBS = -llibldap -lliblber
verändert, da ich die 'alten' nicht habe.
Was hat er nun ? Die Lib's liegen im Standarddir, aber der Linker findet sie
nicht?
Is mir zu hoch.
--
Frank Matthieß
Privat Frank.Matthiess at GMX.net +49-5245-4662
Firma Frank.Matthiess at decor-metall.de +49-5222-286-315
More information about the Linux
mailing list