|
Boost Users : |
Subject: [Boost-users] newbie: my program can't find boost libraries
From: sparsh mittal (sparsh0mittal_at_[hidden])
Date: 2012-03-30 18:09:59
Hello
I am new to boost.
In my RHEL linux (no root permission), my program does not find boost
installation and says:
*** Please install package libboost-filesystem to /home/myself/folder
*** Please install package libboost-system to /home/myself/folder
I installed latest boost using these
instructions<http://www.boost.org/doc/libs/1_42_0/more/getting_started/unix-variants.html#id27>
.
./bootstrap.sh ----with-libraries=filesystem,system --prefix=/home/myself/folder
./bjam install
Can you tell, what is wrong I am doing and anything to add in include path etc.
My paths:
echo $LD_LIBRARY_PATH
/home/myself/folder/lib:/home/myself/ddrive/test/boost_1_49_0/stage/lib
echo $CPLUS_INCLUDE_PATH
/home/myself/folder/include/
My program has makefile:
LD_LIBS += -lboost_filesystem -lboost_system (and others)
Thanks and Regards
Sparsh Mittal
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