|
Boost Users : |
From: Nishant Mittal (nishttal_at_[hidden])
Date: 2008-03-06 13:40:58
I have a 64 bit red hat linux (also 64 bit) box.
1) I downloaded boost from
boost_1_34_1.tar.bz2
<http://downloads.sourceforge.net/boost/boost_1_34_1.tar.bz2?modtime=1185241
108&big_mirror=0>
2) Unizipped and installed it (./configure , make install ) everything
worked fine.
Questions:
1) How do I check if I now have the 64 bit version of boost?
2) I see that all libraries were put into /usr/local/lib and I can
compile my hello world code with the following command.
* $ g++ hello.cpp -lboost_thread-gcc41-mt-1_34_1
but when I try to run the created a.out file I get a file not found error
msg.
* $ ./a.out
* ./a.out: error while loading shared libraries:
libboost_thread-gcc41-mt-1_34_1.so.1.34.1: cannot open shared object file:
No such file or directory
I did an ldd and this is the output.
$ ldd a.out
libboost_thread-gcc41-mt-1_34_1.so.1.34.1 => not found
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003a6aa00000)
libm.so.6 => /lib64/libm.so.6 (0x0000003a5a400000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003a68600000)
libc.so.6 => /lib64/libc.so.6 (0x0000003a5a000000)
/lib64/ld-linux-x86-64.so.2 (0x0000003a59c00000)
I am stuck and cannot make progress. I appreciate any help on this.
Thanks
Nishant
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net