cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem with libldap, liblber detection on Mac OS X

From: Daniel Johnson <daniel_at_daniel-johnson.org>
Date: Fri, 02 Feb 2007 16:24:09 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

While the recent change to acinclude.m4 cleaned things up, configure
is still generating the wrong file names:

checking name of dynamic library ldap... libldap.so
checking name of dynamic library lber... liblber.so

On Darwin, those should be libldap.dylib and liblber.dylib.
Unfortunately, Darwin distinguishes between loadable modules
(normally named *.so) and shared libraries (named *.dylib). Only
dylibs can be linked to, but either can be dlopened. Libtool is
returning .so since that's what is usually used for modules, but in
this case it's wrong because we're talking about real libraries.

In addition, those files are actually symlinks to the same file: /
System/Library/Frameworks/LDAP.framework/Versions/A/LDAP which has no
extension at all but is a genuine shared library.

Daniel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: http://homepage.mac.com/danielj7/publickey.txt

iD4DBQFFw6v54sDFGYouOqARAl/NAJjoSfgzzcx8R1vluPCF5BbtMRrIAJ9qYxFL
gKTyrRkPDOYN13Rnb5rXqg==
=4KwC
-----END PGP SIGNATURE-----
Received on 2007-02-02