Boost logo

Boost :

From: Alkis Evlogimenos (alkis_at_[hidden])
Date: 2002-10-17 16:31:56


On Thursday 17 October 2002 01:32 pm, David Abrahams wrote:
> It seems like it should, yes. What is the -n -a output? It appears as
> though LD_LIBRARY_PATH does not include /opt/gcc2/lib when tests are
> run.

Indeed LD_LIBRARY_PATH is not setup correctly:

gcc-C++-action
../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test.o

    /opt/gcc2/bin/g++ -c -Wall -ftemplate-depth-100 -D_STLP_DEBUG -g -O0
-fno-inline -D_STLP_USE_DYNAMIC_LIB -I"../status" -isystem
"/opt/gcc2/include/stlport" -isystem "/home/boost/boost-regress/boost" -o
"../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test.o"
"/home/boost/boost-regress/boost/libs/bind/mem_fn_derived_test.cpp"

gcc-Link-action
../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test

    export LD_LIBRARY_PATH
    /opt/gcc2/bin/g++ -g -o
"../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test"
-L"/opt/gcc2/lib" -L"/opt/gcc2/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/"
"../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test.o"
-lstlport_gcc_stldebug -lpthread

Chmod1
../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test

    chmod 711
../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test

capture-run-output1
../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test.run

        export PATH

        export LD_LIBRARY_PATH
        
../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test
>
../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test.output
2>&1 && cp -f
../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test.output
../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test.run

succeeded-test-file
../status/bin/mem_fn_derived_test.test/gcc2953-stlport/debug/runtime-link-dynamic/mem_fn_derived_test.test

-- 
Alkis

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk