I get the same error as Jason and Ben. The critical command is

cc -fno-common -I../../include -I../../include -I/sw/include/db3 
-I/sw/include/cyrus-sasl -no-cpp-precomp -I/sw/include 
-L/sw/src/openldap-ssl-2.0.23-5/openldap-2.0.23/libraries -L/sw/lib -o 
apitest apitest.o -lldap -llber -llutil -lsasl -lssl -lcrypto -lssl 
-lcrypto -ldl

Then there follow 3742 (no kidding!) messages of the form

symbol __sasl_alloc_utils used from dynamic library 
/usr/lib/libsasl2.2.0.1.dylib(ProjectBuilderMasterObjectFile.o) not from 
earlier dynamic library /sw/lib/libsasl.7.dylib(common.lo)

and

/usr/bin/ld: Undefined symbols:
_ldap_url_search

It seems that -lldap is satisfied from /usr/lib/libldap.dylib, not from 
/sw/src/openldap-ssl-2.0.23-5/openldap-2.0.23/libraries/libldap.a, and 
the former doesn't have this symbol. The libldap.dylib that is being 
build is hidden in some subdirectory
/sw/src/openldap-ssl-2.0.23-5/openldap-2.0.23/libraries/libldap/.libs/
that is not searched.

-- 
Martin


-- 
Martin



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to