openldap-ssl compile fails with the following errors:

/bin/sh /sw/src/openldap-ssl-2.0.23-5/openldap-2.0.23/libtool --mode=link cc -rpath /sw/lib -fno-common -I../../include -I../../include -I/sw/include/db3 -I/sw/include/cyrus-sasl -no-cpp-precomp -isystem /sw/include -L/sw/src/openldap-ssl-2.0.23-5/openldap-2.0.23/libraries -version-info 2:15:0 -o libldap.la bind.lo open.lo result.lo error.lo compare.lo search.lo controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo add.lo modrdn.lo delete.lo abandon.lo cache.lo getfilter.lo sasl.lo sbind.lo kbind.lo unbind.lo friendly.lo free.lo disptmpl.lo srchpref.lo dsparse.lo tmplout.lo sort.lo getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo request.lo os-ip.lo url.lo sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo schema.lo charray.lo tls.lo dn.lo os-local.lo dnssrv.lo utf-8.lo version.lo -lsasl -lssl -lcrypto
rm -fr .libs/libldap.la .libs/libldap.* .libs/libldap.*

*** Warning: This library needs some functionality provided by -lsasl.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

[...]

ranlib .libs/libldap.a
ranlib: file: .libs/libldap.a(kbind.o) has no symbols
ranlib: file: .libs/libldap.a(dn.o) has no symbols
creating libldap.la
(cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
rm -f ../libldap.la

[...]

cc -fno-common -I../../include -I../../include -I/sw/include/db3 -I/sw/include/cyrus-sasl -no-cpp-precomp -isystem /sw/include -L/sw/src/openldap-ssl-2.0.23-5/openldap-2.0.23/libraries -o apitest apitest.o -lldap -llber -llutil -lsasl -lssl -lcrypto -lssl -lcrypto -ldl
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _secflag_map used from dynamic library /usr/lib/libsasl2.2.0.1.dylib(ProjectBuilderMasterObjectFile.o) not from earlier dynamic library /sw/lib/libsasl.7.dylib(server.lo)
[Lots of lines like "symbol _foo used from dynamic library /usr/lib/foo and not from earlier dynamic library /sw/lib/foo"]
symbol _ERR_print_errors_fp used from dynamic library /usr/lib/libcrypto.0.9.dylib(err_prn.o) not from earlier dynamic library /sw/lib/libcrypto.0.9.6.dylib(err_prn.o)

[...]

ld: Undefined symbols:
_ldap_url_search

I have had similar errors every time I have tried to compile openldap.

Mac OS 10.2.2 (Continuous updates from 10.2)
pkg fink version 0.11.0.cvs-20021116.2137
pkg openldap-ssl version 2.0.23-5

Thank you,
Kyle Moffett



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to