From: David L. <dav...@cs...> - 2000-07-07 04:10:15
|
for the list's info... any autoconf gurus out there that could suggest how this might be avoided? ---------- Forwarded message ---------- Date: Thu, 6 Jul 2000 14:41:23 -0500 From: "Wheelock, Michael D" <whe...@ms...> To: 'David Leonard' <dav...@cs...> Subject: RE: LDAP Module Hi, It turns out that there were several other versions of libldap.so (specifically libldap.so.3 and libldap.so.4) in the /usr/lib directory. Unfortunately, either by what I installed or didn't install (I am not sure whether they are even included at all with solaris 8) the header files associated with these libs didn't exist on the system. Essentially, I would compile the openldap libraries, then configure the ldap module. Since the version info on these other libs is 3 and 4, it would use those which didn't agree with the header info (amongst other problems like looking for another version of liblber than existed on the system I suspect). Essentially, moving them out of the way for the configure and compile fixed the problem. Definately odd though. Michael Wheelock PS. Thanks for your help! -----Original Message----- From: David Leonard [mailto:dav...@cs...] Sent: Monday, July 03, 2000 11:23 PM To: Wheelock, Michael D Subject: RE: LDAP Module from the looks of this, it seems that when Setup is generated from Setup.in (by python's makesetup script), the -llber (and other things) are being lost. I have no idea why this is happening. Just copy Setup.in onto Setup, make clean and make again. On Mon, 3 Jul 2000, Wheelock, Michael D typed thusly: > Hi, > > > > -----Original Message----- > From: David Leonard [mailto:dav...@cs...] > Sent: Monday, July 03, 2000 7:14 PM > To: Wheelock, Michael D > Subject: RE: LDAP Module > > > On Mon, 3 Jul 2000, Wheelock, Michael D typed thusly: > > > Hi, > > > > Attached is the typescript from my system. > > > > I made the ldap module and installed it. > > Verified that the file had indeed been installed. > > Tried to import the module from the python commandline. > > Verified that the shared libs were linked into /usr/lib. > > Verified that the referenced symbol was indeed in the liblber.so library. > > > > If you have any ideas, I would be much appreciated. > > | checking for library containing ber_free... -llber > | checking for library containing ldap_open... -lldap > > | ld -G LDAPObject.o common.o constants.o errors.o functions.o ldapmodule.o > m > | essage.o version.o CIDict.o -lldap -lsocket -lnsl -o ldapmodule.so > > | >>> use import i ldap > | Traceback (innermost last): > | File "<stdin>", line 1, in ? > | ImportError: ld.so.1: python: fatal: relocation error: file > ./ldapmodule.so: > | symbol ber_bvecfree: referenced symbol not found > > that is strange - configure is noticing -llber, but its not being used when > linking! > > But Setup.in.in has a @LIBS@ line in it.. and the line from configure > certainly > looks right.. i wonder how its getting lost > > Can you please reply and attach these files: > > config.log > config.status > Setup.in > Setup > > thanks > > d > -- David Leonard Dav...@cs... Dept of Comp. Sci. and Elec. Engg _ Room:78-640 Ph:+61 7 336 51187 The University of Queensland |+| http://www.csee.uq.edu.au/~leonard/ QLD 4072 AUSTRALIA ~` '~ E2A24DC6446E5779D7AFC41AA04E6401 |