Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-03-08 04:32:42


V1 used to adjust LD_LIBRARY_PATH when running tests with the GCC toolset:

bjam -sTOOLS=gcc-4.0.2-osf1 -d+2 bind_visit_test

[...]

execute-test
../../../bin/boost/libs/bind/test/bind_visit_test.test/gcc-4.0.2-osf1/debug/bind_visit_test.run

     LD_LIBRARY_PATH=/opt/gcc-4.0.2/lib
export LD_LIBRARY_PATH
../../../bin/boost/libs/bind/test/bind_visit_test.test/gcc-4.0.2-osf1/debug/bind_visit_test
>
../../../bin/boost/libs/bind/test/bind_visit_test.test/gcc-4.0.2-osf1/debug/bind_visit_test.output
2>&1

[...]

V2 no longer does this:

bjam --v2 -d+2 gcc-4_0_2_tru64 bind_visit_test

[...]

testing.capture-output
../../../bin.v2/libs/bind/test/bind_visit_test.test/gcc-4_0_2_tru64/debug/bind_visit_test.run

 
../../../bin.v2/libs/bind/test/bind_visit_test.test/gcc-4_0_2_tru64/debug/bind_visit_test
>
../../../bin.v2/libs/bind/test/bind_visit_test.test/gcc-4_0_2_tru64/debug/bind_visit_test.output
2>&1

[...]

212074:../../../bin.v2/libs/bind/test/bind_visit_test.test/gcc-4_0_2_tru64/debug/bind_visit_test:
/sbin/loader: Fatal Error: Cannot map library libstdc++.so.6

[...]

This should be fixed, I think. It's also needed to ensure that the right
libstdc++ is taken when having installed multiple compilers.

Markus


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk