OpenLDAP 2.0.15?

Find out how to get that @*&^$&@ thing to compile!

Re: OpenLDAP 2.0.15?

Postby apex » Fri Oct 12, 2001 9:14 pm

did you use --without-threads when you ran configure?
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

OpenLDAP 2.0.15?

Postby petlor » Sat Oct 13, 2001 7:36 am

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
petlor
 
Posts: 4
Joined: Tue Oct 09, 2001 7:00 pm

Re: OpenLDAP 2.0.15?

Postby petlor » Wed Oct 17, 2001 5:58 am

No dice. Apparenlty this also lives in the Darwin CVS. I'll get access and give that a whirl.
petlor
 
Posts: 4
Joined: Tue Oct 09, 2001 7:00 pm

Re: OpenLDAP 2.0.15?

Postby qperkins » Fri Nov 02, 2001 6:06 pm

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?
qperkins
 
Posts: 1
Joined: Fri Nov 02, 2001 8:00 pm
Location: Colorado

Re: OpenLDAP 2.0.15?

Postby <lilian_arnaud> » Fri Jun 21, 2002 8:08 pm

try to add "-fno-common" to your CFLAGS variable.

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

Lilian
<lilian_arnaud>
 


Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 44 guests

cron