Boost logo

Boost-Build :

Subject: [Boost-build] default compiler paths on 64 bit linux
From: Avi Bahra (avibahra_at_[hidden])
Date: 2010-10-20 06:56:34


It looks like the default compiler paths on linux 64 are not correct ?

bjam -d2
...patience...
...patience...
...patience...
...found 12338 targets...
...updating 2 targets...
gcc.link bin/gcc-4.3/debug/embedding

    "g++" -L"/usr/lib" -L"/usr/lib/python2.6/config" -Wl,-R
-Wl,"/usr/lib" -Wl,-R -Wl,"/usr/lib/python2.6/config" -Wl,-R
-Wl,"/vol/ecf/boost/boost_1_43_0/bin.v2/libs/python/build/gcc-4.3/debug"
-Wl,-rpath-link
-Wl,"/vol/ecf/boost/boost_1_43_0/bin.v2/libs/python/build/gcc-4.3/debug"
-o "bin/gcc-4.3/debug/embedding" -Wl,--start-group
"bin/gcc-4.3/debug/test/TestEmbedded.o"
"/vol/ecf/boost/boost_1_43_0/bin.v2/libs/python/build/gcc-4.3/debug/libboost_python.so.1.43.0"
 -Wl,-Bstatic -Wl,-Bdynamic -lpython2.6 -lutil -lpthread -ldl
-Wl,--end-group -g

/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libutil.so when searching for -lutil
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libutil.a when searching for -lutil
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libpthread.so when searching for
-lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libpthread.a when searching for
-lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libdl.a when searching for -ldl
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libc.a when searching for -lc
gcc.link bin/gcc-4.3/debug/embedding_ecf

How would I add -L/usr/lib64 on the link line ?

Any help appreciated.

   Best regards,
Ta,
    Avi


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