macosforge / darwinbuild

Darwinbuild is a collection of tools that assist compilation of the many projects contained in Darwin, the open source base of Apple's macOS operating system.
https://macosforge.github.io/darwinbuild/
Other
128 stars 54 forks source link

OpenLDAP and -lpac #79

Open macosforgebot opened 15 years ago

macosforgebot commented 15 years ago

aladin@… originally submitted this as ticket:81


OpenLDAP quickly fails to build with:

configure: error: C compiler cannot create executables

Looking in the config.log details, we can found that -lpac is in cause (and even perhaps a thread pb in the logger looking the result of the output):

configure:5180: cc -arch ppc -arch i386 -g -Os -pipe -DLDAP_DEPRECATED=1 -DSLAP_DYNACL=1 -DUSES_KRBNAME=1 -I/usr/local/BerkeleyDB/include -I/SourceCache/OpenLDAP/OpenLDAP-110/OpenLDAP/include -I/private/var/tmp/OpenLDAP/OpenLDAP-110.obj/include -I/SourceCache/OpenLDAP/OpenLDAP-110/OpenLDAP/libraries/libldap -I/SourceCache/OpenLDAP/OpenLDAP-110/OpenLDAP/servers/slapd -I/usr/include/sasl -fno-common -gfull -funroll-loops -falign-loops=16 -pipe -no-cpp-precomp -arch ppc -arch i386 -F/System/Library/PrivateFrameworks -I/usr/include/sasl -I/usr/local/BerkeleyDB/include -arch ppc -arch i386  -framework CoreFoundation -framework PasswordServer -framework Security -framework OpenDirectory -lpac          -L/private/var/tmp/OpenLDAP/OpenLDAP-110.obj/libraries -L/usr/local/BerkeleyDB/lib/ conftest.c  >&5
ld: library ldnot:  foundlibrary not  for found- lpacfor
 collect2: -ld returned 1 exit statuslpac

We should read that the library for "-lpac" is not found."

Searching google just created a time-loop with / darwinbuild-dev/2008-April/000407.