libntlm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libntlm test case doesn't honor correct library path


From: dam
Subject: Re: libntlm test case doesn't honor correct library path
Date: Thu, 24 Sep 2009 10:36:44 +0200 (CEST)
User-agent: SquirrelMail/1.4.17

Hi Simon,

>> Dagobert Michelsen <address@hidden> writes:
>>>
>>> Am 24.09.2009 um 09:33 schrieb Simon Josefsson:
>>>> Dagobert Michelsen <address@hidden> writes:
>>>>> when compiling libntlm under Solaris I got the following error on
>>>>> testing:
>>>>
>>>> Hi Dagobert, thanks for testing.  I wasn't able to reproduce the
>>>> problem:
>>>>
>>>> address@hidden:~$ ssh -v address@hidden
>>>> address@hidden [login]:~ > ssh build8s
>>>> -bash-4.0$ gzip -cd libntlm-1.1.tar.gz |tar xf -
>>>> -bash-4.0$ cd libntlm-1.1
>>>> -bash-4.0$ ./configure && make check
>>>> ...
>>>> ntlm.h 1.1 libntlm 1.1
>>>>
>>>> Maybe you could test the next release candidate:
>>>>
>>>> http://daily.josefsson.org/libntlm/libntlm-20090924.tar.gz
>>>
>>> Same effect. You can look here how it was build:
>>>
>>> /home/dam/mgar/pkg/libntlm/trunk/work/build-isa-sparcv8/libntlm-1.2/
>>
>> Thanks -- however I still can't reproduce it, on build8s:
>>
>> -bash-4.0$ wget
>> http://daily.josefsson.org/libntlm/libntlm-20090924.tar.gz
>> -bash-4.0$ gzip -cd libntlm-20090924.tar.gz |tar xf -
>> -bash-4.0$ cd libntlm-1.2/
>> -bash-4.0$ ./configure --prefix=/opt/csw --exec_prefix=/opt/csw
>> --bindir=/opt/csw/bin --sbindir=/opt/csw/sbin
>> --libexecdir=/opt/csw/libexec --datadir=/opt/csw/share
>> --sysconfdir=/opt/csw/etc --sharedstatedir=/opt/csw/share
>> --localstatedir=/opt/csw/var --libdir=/opt/csw/lib
>> --infodir=/opt/csw/share/info --includedir=/opt/csw/include
>> --mandir=/opt/csw/share/man
>> -bash-4.0$ make check
>> ...
>> ntlm.h 1.2 libntlm 1.2
>> ...
>> -bash-4.0$ ldd ./test_ntlm
>>         /usr/lib/secure/s8_preload.so.1
>>         libntlm.so.0 =>  /home/simon/libntlm-1.2/.libs/libntlm.so.0
>>         libc.so.1 =>     /usr/lib/libc.so.1
>>         libdl.so.1 =>    /usr/lib/libdl.so.1
>>         /usr/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1
>> -bash-4.0$
>>
>> Do you have any special LD variables set?

Sorry I have to reply to myself: The error is different:

/bin/bash ./libtool --tag=CC   --mode=link
/opt/studio/SOS11/SUNWspro/bin/cc  -xO3 -xarch=v8 -I/opt/csw/include
-no-install -xarch=v8 -L/opt/csw/lib -o test_ntlm test_ntlm.o libntlm.la
lib/libgnu.la
libtool: link: /opt/studio/SOS11/SUNWspro/bin/cc -xO3 -xarch=v8
-I/opt/csw/include -xarch=v8 -o test_ntlm test_ntlm.o  -L/opt/csw/lib
./.libs/libntlm.so lib/.libs/libgnu.a
-R/home/dam/mgar/pkg/libntlm/trunk/work/build-isa-sparcv8/libntlm-1.2/.libs
-R/opt/csw/lib
gmake[4]: Leaving directory
`/home/dam/mgar/pkg/libntlm/trunk/work/build-isa-sparcv8/libntlm-1.2'
gmake  check-TESTS
gmake[4]: Entering directory
`/home/dam/mgar/pkg/libntlm/trunk/work/build-isa-sparcv8/libntlm-1.2'
ntlm.h 1.2 libntlm 1.0

It binds erranously to the installed libntlm version instead of the newly
build one.
I vaguely recall there is something in libtool which temporarily sets
LD_LIBRARY_PATH
during execution to avoid this.


Best regards

  -- Dago




reply via email to

[Prev in Thread] Current Thread [Next in Thread]