Page 1 of 1

Re: OpenLDAP 2.0.15?

PostPosted: Fri Oct 12, 2001 9:14 pm
by apex
did you use --without-threads when you ran configure?

OpenLDAP 2.0.15?

PostPosted: Sat Oct 13, 2001 7:36 am
by petlor
I'm stuck trying to get OpenLDAP 2.0.15 to compile. I dug through their bug system and applied a small patch I found therein, but found no other info. Here's the message that occurs during make:

ld: -undefined error must be used when -twolevel_namespace is in effect
/usr/bin/libtool: internal link edit command failed
make[2]: *** [liblber.la] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1


Any ideas?

-Petlor

Re: OpenLDAP 2.0.15?

PostPosted: Wed Oct 17, 2001 5:58 am
by petlor
No dice. Apparenlty this also lives in the Darwin CVS. I'll get access and give that a whirl.

Re: OpenLDAP 2.0.15?

PostPosted: Fri Nov 02, 2001 6:06 pm
by qperkins
I've downloaded the Darwin CVS version.

./configure went well
make depend went well

make gave me the following error:
1.11/Services/ldap/ldap/libraries -lssl -lcrypto -lc
ld: common symbols not allowed with MH_DYLIB output format
util-int.lo definition of common _ldap_int_resolv_mutex (size 44)
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libldap_r.la] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1

Anyone have any ideas?

Re: OpenLDAP 2.0.15?

PostPosted: Fri Jun 21, 2002 8:08 pm
by <lilian_arnaud>
try to add "-fno-common" to your CFLAGS variable.

with this option, gcc doesn't produce "common variables".

Lilian