[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libntlm test case doesn't honor correct library path
From: |
Dagobert Michelsen |
Subject: |
libntlm test case doesn't honor correct library path |
Date: |
Fri, 4 Sep 2009 18:00:12 +0200 |
Hi Simon,
when compiling libntlm under Solaris I got the following error on
testing:
gmake[2]: Entering directory `/home/dam/mgar/pkg/libntlm/trunk/work/
build-isa-sparcv8/libntlm-1.1'
ntlm.h 1.1 libntlm 1.0
FAIL: test_ntlm
======================================
1 of 1 test failed
Please report to address@hidden
======================================
The reason was that the test-binary links to the installed
library instead of the newly build one:
build8s% ldd test_ntlm
/usr/lib/secure/s8_preload.so.1
libntlm.so.0 => /opt/csw/lib/sparcv8/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
Forcing to link against the new one fixes this:
build8s% export LD_LIBRARY_PATH=.libs
build8s% ldd test_ntlm
/usr/lib/secure/s8_preload.so.1
libntlm.so.0 => .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
build8s% ./test_ntlm
ntlm.h 1.1 libntlm 1.1
I guess there is a libtool option to locally override library pathes.
Best regards
-- Dago
- libntlm test case doesn't honor correct library path,
Dagobert Michelsen <=
- Re: libntlm test case doesn't honor correct library path, Simon Josefsson, 2009/09/24
- Re: libntlm test case doesn't honor correct library path, Dagobert Michelsen, 2009/09/24
- Re: libntlm test case doesn't honor correct library path, Simon Josefsson, 2009/09/24
- Re: libntlm test case doesn't honor correct library path, dam, 2009/09/24
- Re: libntlm test case doesn't honor correct library path, dam, 2009/09/24
- Re: libntlm test case doesn't honor correct library path, Simon Josefsson, 2009/09/24
- Re: libntlm test case doesn't honor correct library path, dam, 2009/09/24
- Re: libntlm test case doesn't honor correct library path, Simon Josefsson, 2009/09/24
- Re: libntlm test case doesn't honor correct library path, Simon Josefsson, 2009/09/24