Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » OpenLDAP 2.0.15?

UBBFriend: Email this page to someone!    
Author Topic: OpenLDAP 2.0.15?
petlor
Junior Member
Member # 148

posted October 12, 2001 12:36 PM      Profile for petlor   Email petlor   Send New Private Message      Edit/Delete Post  Reply With Quote 
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


Posts: 4 | Registered: Oct 2001  |  IP: Logged
apex
Administrator
Member # 1

posted October 12, 2001 02:14 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
did you use --without-threads when you ran configure?
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
petlor
Junior Member
Member # 148

posted October 16, 2001 10:58 PM      Profile for petlor   Email petlor   Send New Private Message      Edit/Delete Post  Reply With Quote 
No dice. Apparenlty this also lives in the Darwin CVS. I'll get access and give that a whirl.
Posts: 4 | Registered: Oct 2001  |  IP: Logged
Quinn Perkins
Junior Member
Member # 206

posted November 02, 2001 10:06 AM      Profile for Quinn Perkins   Email Quinn Perkins   Send New Private Message      Edit/Delete Post  Reply With Quote 
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?


Posts: 1 | From: Colorado | Registered: Nov 2001  |  IP: Logged
<lilian_arnaud>
unregistered

posted June 21, 2002 01:08 PM           Edit/Delete Post  Reply With Quote 
try to add "-fno-common" to your CFLAGS variable.

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

Lilian


IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2