Trying to upgrade to a recent pine-ssl, and they all want openldap as a
dependency. That's fine, I was interested in learning LDAP anyhow -- but
openldap won't compile. The error/warning output runs to hundreds of
lines, and I can't tell where the relevant bug is. Pasting chunks of the
output to put it in context, I have:

******************

  cd back-passwd; make  all
run configure with --enable-passwd to make back_passwd

  cd back-shell; make  all
run configure with --enable-shell to make back_shell

  cd back-sql; make  all
run configure with --enable-sql to make back_sql

ar: creating archive libbackends.a
a - ldbmabandon.o
.
.  [... a couple dozen of these a - $foo.o lines ...]
.
added backend library back-ldbm/libback_ldbm.a
-rw-r--r--  1 root  2000  274832 Apr 11 04:43 libbackends.a
cc -fno-common -I../../include -I../../include   -I/sw/include   -I/sw/include  -c -o 
main.o main.c
.
.  [... several dozen of these cc -fno-common lines ...]
.
cc -fno-common -I../../include -I../../include   -I/sw/include   -I/sw/include  -c -o 
mods.o mods.c
../../build/mkversion -v "2.0.19-Release" -s -n Versionstr slapd > version.c
cc -fno-common -I../../include -I../../include   -I/sw/include   -I/sw/include  -c -o 
version.o version.c
/bin/sh 
/Volumes/Applications/GNUWare/Fink/src/openldap-2.0.19-1/openldap-2.0.19/libtool 
--mode=link cc -fno-common -I../../include -I../../include   -I/sw/include   
-L/Volumes/Applications/GNUWare/Fink/src/openldap-2.0.19-1/openldap-2.0.19/libraries 
-L/sw/lib   -o slapd   main.o daemon.o connection.o search.o filter.o add.o charray.o 
attr.o entry.o config.o backend.o result.o operation.o dn.o compare.o modify.o 
delete.o modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o abandon.o filterentry.o 
phonetic.o acl.o str2filter.o aclparse.o init.o user.o repl.o lock.o controls.o 
extended.o kerberos.o passwd.o schema.o schema_check.o schema_init.o schema_prep.o 
schemaparse.o ad.o at.o mr.o syntax.o oc.o configinfo.o starttls.o index.o sets.o 
root_dse.o sasl.o module.o suffixalias.o mods.o  version.o libbackends.a -lavl -lldbm 
-lldif -llutil -lldap_r -llber     -lssl -lcrypto    -ldl
mkdir .libs
cc -fno-common -I../../include -I../../include -I/sw/include 
-L/Volumes/Applications/GNUWare/Fink/src/openldap-2.0.19-1/openldap-2.0.19/libraries 
-L/sw/lib -o slapd main.o daemon.o connection.o search.o filter.o add.o charray.o 
attr.o entry.o config.o backend.o result.o operation.o dn.o compare.o modify.o 
delete.o modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o abandon.o filterentry.o 
phonetic.o acl.o str2filter.o aclparse.o init.o user.o repl.o lock.o controls.o 
extended.o kerberos.o passwd.o schema.o schema_check.o schema_init.o schema_prep.o 
schemaparse.o ad.o at.o mr.o syntax.o oc.o configinfo.o starttls.o index.o sets.o 
root_dse.o sasl.o module.o suffixalias.o mods.o version.o libbackends.a -lavl -lldbm 
-lldif -llutil -lldap_r -llber -lssl -lcrypto -ldl
/usr/bin/ld: Undefined symbols:
_ldap_pvt_gai_strerror
/usr/bin/ld: warning unused multiple definitions of symbol _crypt
/sw/lib/libcrypto.dylib(fcrypt.o) definition of _crypt
/usr/lib/libSystem.dylib(crypt.o) unused definition of _crypt
/usr/lib/libcrypto.0.9.dylib(fcrypt.o) unused definition of _crypt
/usr/bin/ld: warning unused multiple definitions of symbol _ASN1_STRING_data
/sw/lib/libcrypto.dylib(asn1_lib.o) definition of _ASN1_STRING_data
/usr/lib/libcrypto.0.9.dylib(asn1_lib.o) unused definition of _ASN1_STRING_data
/usr/bin/ld: warning unused multiple definitions of symbol _ASN1_STRING_length
.
.  [... about *5400* more lines warning about unused definitions ...]
.
/usr/lib/libcrypto.0.9.dylib(conf_api.o) unused definition of __CONF_new_data
/usr/bin/ld: warning unused multiple definitions of symbol __CONF_new_section
/sw/lib/libcrypto.dylib(conf_api.o) definition of __CONF_new_section
/usr/lib/libcrypto.0.9.dylib(conf_api.o) unused definition of __CONF_new_section
make[2]: *** [slapd] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
### make failed, exit code 2
Failed: compiling openldap-2.0.19-1 failed

******************

Thus endeth the compilation.

Any suggestions?



--
Chris Devers                                [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/

"More war soon. You know how it is."    -- mnftiu.cc


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to