[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/ =>  /opt/csw/lib/sparcv8/ =>     /usr/lib/ =>    /usr/lib/

Forcing to link against the new one fixes this:

build8s% export LD_LIBRARY_PATH=.libs
build8s% ldd test_ntlm
        /usr/lib/secure/ =>  .libs/ =>     /usr/lib/ =>    /usr/lib/
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

reply via email to

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