Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-05-15 08:08:49


I've gotten the following output:

cd ~/prog_dev/boost-root.ln/development/libs/managed_ptr/test/
bjam --v2 -d2
XXX
...patience...
...found 410 targets...
...updating 2 targets...
testing.capture-output
../../../../build_dir/development/libs/managed_ptr/test/own_rent_ptr.test/gcc/debug/own_rent_ptr.run

../../../../build_dir/development/libs/managed_ptr/test/own_rent_ptr.test/gcc/debug/own_rent_ptr
>
../../../../build_dir/development/libs/managed_ptr/test/own_rent_ptr.test/gcc/debug/own_rent_ptr.output
2>&1 && cp
../../../../build_dir/development/libs/managed_ptr/test/own_rent_ptr.test/gcc/debug/own_rent_ptr.output

../../../../build_dir/development/libs/managed_ptr/test/own_rent_ptr.test/gcc/debug/own_rent_ptr.run
|| ( echo ====== BEGIN OUTPUT ====== && cat
../../../../build_dir/development/libs/managed_ptr/test/own_rent_ptr.test/gcc/debug/own_rent_ptr.output
&& echo ====== END OUTPUT ====== && exit 1 )

====== BEGIN OUTPUT ======
../../../../build_dir/development/libs/managed_ptr/test/own_rent_ptr.test/gcc/debug/own_rent_ptr:
error while loading shared libraries: boost_unit_test_framework.so:
cannot open shared object file: No such file or directory
====== END OUTPUT ======
...failed testing.capture-output
../../../../build_dir/development/libs/managed_ptr/test/own_rent_ptr.test/gcc/debug/own_rent_ptr.run...

with:
~/prog_dev/boost-root.ln/development/libs/managed_ptr/test/Jamfile.v2
as:
import testing ;

{
test-suite "managed_ptr"
: [ run own_rent_ptr.cpp
../../io/filters/src/mout.cpp
../../../../libs/test/build//boost_unit_test_framework
]
;

}

and with:
/home/evansl/prog_dev/boost-root.ln/libs/test/build/Jamfile.v2
the same as when downloaded with version 1.31.0 of boost.
and with:
/home/evansl/prog_dev/boost-root.ln/Jamfile.v2
the same as when downloaded with version 1.31.0 of boost except for:
project boost
: requirements <include>.
: usage-requirements <include>.
: build-dir ./build_dir
;

The directory:

/home/evansl/prog_dev/boost-root.ln/build_dir/libs/test/build/gcc/debug

contains:

boost_unit_test_framework.so

I tried `bjam --v2 -d+4; however, it really showed no shell arguments
despite the indications from:

bjam --v2 --help-enable-detailed --help-usage

The output from this was just:

bjam --v2 -d+4
XXX
====== BEGIN OUTPUT ======
../../../../build_dir/development/libs/managed_ptr/test/own_rent_ptr.test/gcc/debug/own_rent_ptr:
error while loading shared libraries: boost_unit_test_framework.so:
cannot open shared object file: No such file or directory
====== END OUTPUT ======
...failed updating 1 target...

Compilation exited abnormally with code 1 at Sat May 15 07:59:00

The output from:

bjam --v2 -d5

contained:

made stable
<p../../../../build_dir/development/libs/managed_ptr/test/own_rent_ptr.test/gcc/debug>mout.o
make --
<p../../../../build_dir/libs/test/build/gcc/debug>boost_unit_test_framework.so
make --
<p../../../../build_dir/libs/test/build/gcc/debug>boost_unit_test_framework.so
bind --
<p../../../../build_dir/libs/test/build/gcc/debug>boost_unit_test_framework.so:
../../../../build_dir/libs/test/build/gcc/debug/boost_unit_test_framework.so
time --
<p../../../../build_dir/libs/test/build/gcc/debug>boost_unit_test_framework.so:
Sat May 15 05:53:10 2004
make -- ../../../../build_dir/libs/test/build/gcc/debug

--------------------------------------
What should be done to enable boost to find this shared library?

TIA.

 


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