./configure --with-boost-include=/usr/include/boost --with-boost-lib=/lib64 --enable-static
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make sets $(MAKE)... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for /usr/include/boost/boost/graph/adjacency_list.hpp... yes
checking for /usr/include/boost/boost/tokenizer.hpp... yes
checking for /usr/include/boost/boost/lexical_cast.hpp... yes
checking for /usr/include/boost/boost/filesystem/path.hpp... yes
checking for main in -lboost_program_options... no
libboost_program_options not found. Please add BOOST library directory to your LD_LIBRARY_PATH or specify a suitable BOOST library directory: --with-boost-lib=DIR
So I thought it is not getting the lib files for boost. Hence I checked where does the lib files for the boost exist by doing this:
locate libboost_program_options
/lib64/libboost_program_options-mt.a
/lib64/libboost_program_options-mt.dylib
And this prompted me to set the flag--with-boost-lib=/lib64 in the ./configure command.
I am really stuck at this, any help would be really appreciated.
Sincerely,
Anis