
I am able to see the graph_parallel library in that directory but not the
system library. I have attached the log file with this email. I am not sure
what is the problem with system library. I tried to compile like following
[pragatheeswaran@prairiefire ~]$ mpic++ -I /tmp/boost/include
adjlist_build_test.cpp -L /tmp/boost/lib/ -lboost_mpi -lboost_serialization
-lboost_graph_parallel
/tmp/ccqgYccw.o: In function `__static_initialization_and_destruction_0(int,
int)':
adjlist_build_test.cpp:(.text+0xa22): undefined reference to
`boost::system::get_system_category()'
adjlist_build_test.cpp:(.text+0xa2e): undefined reference to
`boost::system::get_generic_category()'
adjlist_build_test.cpp:(.text+0xa3a): undefined reference to
`boost::system::get_generic_category()'
adjlist_build_test.cpp:(.text+0xa46): undefined reference to
`boost::system::get_generic_category()'
adjlist_build_test.cpp:(.text+0xa52): undefined reference to
`boost::system::get_system_category()'
collect2: ld returned 1 exit status
[pragatheeswaran@prairiefire ~]$ mpic++ -I /tmp/boost/include
adjlist_build_test.cpp -L /tmp/boost/lib/ -lboost_mpi -lboost_serialization
-lboost_graph_parallel -lboost_system
/usr/bin/ld: cannot find -lboost_system
collect2: ld returned 1 exit status
[pragatheeswaran@prairiefire ~]$
Thanks,
Praga.
On Thu, Nov 26, 2009 at 11:31 AM, Vladimir Prus
Vladimir Prus wrote:
Vladimir Prus wrote:
praga wrote:
Thanks for reply. Actually the problem is I dont have any other libraries in the installed path other than libboost_mpi and libboost_serialization.
It would be better if you explicitly say so, rather then omitting those libraries and reporting the expected linker errors you get.
So whenever I try to include libraries such as libboost_system or libboost_graph_parallel I am getting errors that those libraries are not found.
I compiled the BOOST using bjam --with-mpi --with-graph_parallel and installed using command bjam --with-mpi --with-graph_parallel install --prefix=~/bin/boostpath
I remember seeing the parallel graph libraries while installing in the command line but I am not sure why they are not there in the installed path.
Could you please run the following command in the root of your Boost source tree:
bjam --with-mpi --with-graph_parallel --prefix=/tmp/boost install > log 2>&1
and then run this command:
ls /tmp/boost > log
Correction: this should be:
ls /tmp/boost >> log
Correction 2: this should be
ls /tmp/boost/lib >> log
- Volodya
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users