Problem with libldap, liblber detection on Mac OS X
Date: Fri, 02 Feb 2007 16:24:09 -0500
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
-----END PGP SIGNATURE-----
Received on 2007-02-02