Re: running openldap program gets undefined externals
- From: "nsk_ase" <nsk_ase@xxxxxxxxx>
- Date: Thu, 26 Jan 2006 21:48:09 -0800
I downloaded it 5 days ago. I am running on a very vanilla g06.27 oss
installation. We have downloaded other ituglib open source products, such
as ssh, which compile ok.
"Bill Honaker" <no_spam_bhonaker__@xxxxxxxxx> wrote in message
news:vvvit1dtqp4pcgo6kfp833freh5md5c3u3@xxxxxxxxxx
> Integrity versions of the ITUGLIB files have been ported and built.
> They can be found at http://ituglib.xid.com
>
> When did you download the G-series version? A new one was posted in
> late December, with a 12/7 date...
> Bill Honaker
> ITUG Librarian
>
> On Thu, 26 Jan 2006 11:27:12 -0800, "nsk_ase" <nsk_ase@xxxxxxxxx>
> wrote:
>
>>The nm command works for me and confirms that ldap_init is present, but
>>when
>>I compile and link I get the following error:
>>
>>openldap/usr/src> make
>>c89 -o ldapuser ldapuser.o -l /usr/local/lib/libldap.a
>>
>>NLD: ERROR **** [2012]:
>> The input object file named '/usr/local/lib/libldap.a(open.o
>> )' has an unexpected value '11' for the relocation type in entry 2 of
>> the ELF symbol table.
>>
>>I am wondering if the fact that the itublib was compiled on G06.22, and I
>>am
>>running on G06.27 is an issue? I want to recompile openldap to see if
>>that
>>is an issue. I also need to get this working on an Itanium system, so I
>>would have to recompile for that reason anyway.
>>
>>I ran the configure script and got an error about not having a valid cc.
>>After adding the Floss directory to my path I got past that error. But
>>now
>>I am getting the following error from the configure script:
>>
>>configure: error: select() required.
>>
>>I noticed that there is no sys/select.h file, that the select function is
>>in
>>sys/time.h for some reason. I tried dupping time.h to select.h, but that
>>did not make the error go away.
>>
>>Obviously this was compiled at least once (for the ituglib). Does anyone
>>know how to get past this configure script error? Can the person who
>>compiled it for ituglib respond and let us know what tweaks were required
>>to
>>their system to get this compiled?
>>
>>"Joachim Schmitz" <nospam.schmitz@xxxxxx> wrote in message
>>news:FImBf.2020$rx4.1856@xxxxxxxxxxxxxxxxxxx
>>> "nsk_ase" <nsk_ase@xxxxxxxxx> schrieb im Newsbeitrag
>>> news:Jp-dnV7TJKOllUjeRVn-vQ@xxxxxxxxxxxxxxxx
>>>> External References Not Resolved to Any User/System Library:
>>>> Prg: ./ldapuser -> ldap_init (PROC)
>>>
>>> ldap_init _is_ in libldap.a:
>>>
>>> jojo@\rat0:~ $ nm -P /usr/local/lib/libldap.a|grep ldap_init
>>> ldap_init T 0x0000049c 0x00000000
>>> ldap_initialize T 0x0000057c 0x00000000
>>> openldap_ldap_init_w_conf t 0x00000000 0x00000000
>>> openldap_ldap_init_w_env t 0x00000a24 0x00000000
>>> openldap_ldap_init_w_sysconf t 0x000007b4 0x00000000
>>> openldap_ldap_init_w_userconf t 0x000007fc 0x00000000
>>>
>>>
>>>>>> undefined externals. I have tried moving libldap.a into
>>>>>> /usr/local/lib
>>>>>> and using -L/usr/local/lib, and just using -llibldap.a. Neither of
>>>>>> these
>>>
>>> So I guess your command to link is wrong.
>>>
>>> Try '-L/usr/local/lib -lldap
>>>
>>> The system prepends the 'lib' and appends the '.a' automagically.
>>>
>>> Bye, Jojo
>>>
>>>
>>
.
- References:
- running openldap program gets undefined externals
- From: nsk_ase
- Re: running openldap program gets undefined externals
- From: Tom Peel
- Re: running openldap program gets undefined externals
- From: nsk_ase
- Re: running openldap program gets undefined externals
- From: Joachim Schmitz
- Re: running openldap program gets undefined externals
- From: nsk_ase
- Re: running openldap program gets undefined externals
- From: Bill Honaker
- running openldap program gets undefined externals
- Prev by Date: Re: running openldap program gets undefined externals
- Next by Date: Re: running openldap program gets undefined externals
- Previous by thread: Re: running openldap program gets undefined externals
- Next by thread: Re: running openldap program gets undefined externals
- Index(es):
Relevant Pages
|
Loading