On Wednesday 13 May 2009 21:34:57 Shawn Walker wrote: > ok, here it is. Maybe it is a problem with the name. > > wal...@box227 ~ > $ find -name 'libboost_program_options*' > ./build/lib/libboost_program_options-gcc41-mt.so > ./build/lib/libboost_program_options-gcc41-mt-1_38.so.1.38.0 > ./build/lib/libboost_program_options-gcc41-mt-1_38.so > ./build/lib/libboost_program_options-gcc41-mt-1_38.a > ./build/lib/libboost_program_options-gcc41-mt.a > ./src/boost_1_38_0/bin.v2/libs/program_options/build/gcc-4.1.2/release/thre >ading-multi/libboost_program_options-gcc41-mt-1_38.so.1.38.0 > ./src/boost_1_38_0/bin.v2/libs/program_options/build/gcc-4.1.2/release/link >-static/threading-multi/libboost_program_options-gcc41-mt-1_38.a
Have you installed the library? Typically make install or something. It looks like the library only lives in the build directory. None of the above mentioned directories corresponds to any of the ones given from pkg-config --libs dolfin Following the output from pkg-config --libs dolfin I would expect it to be in ./src/boost_1_38_0/libs However I cannot figure out why you mannage to compile and install dolfin in the first place... Johan > - Shawn > > On Wed, 13 May 2009, Johan Hake wrote: > > On Wednesday 13 May 2009 20:24:10 Shawn Walker wrote: > >> I am still getting this error. I'm pretty sure boost is being included. > >> Does anyone have any suggestions? > > > > I see from the output from your pkg-config command that you have a boost > > installation in > > > > /home/walker/src/boost_1_38_0 > > > > Do you have several boost installations? The undefined symols you refere > > to here are all defined in libboost_program_options, so it should work. > > What does > > > > locate libboost_program_options > > > > give you? > > > > Johan > > > >> /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for > >> -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching > >> for -lc dolfin/libdolfin.so: undefined reference to > >> `boost::program_options::options_description::m_default_line_length' > >> dolfin/libdolfin.so: undefined reference to > >> `boost::program_options::detail::cmdline::set_additional_parser(boost::f > >>unc tion1<std::pair<std::basic_string<char, std::char_traits<char>, > >> std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > >> std::allocator<char> > >, std::basic_string<char, > >> std::char_traits<char>, std::allocator<char> > const&>)' > >> collect2: ld returned 1 exit status > >> scons: *** [demo/quadrature/cpp/demo] Error 1 > >> scons: building terminated because of errors. > >> demo/quadrature/cpp/demo failed: Error 1 > >> > >> - Shawn > >> _______________________________________________ > >> DOLFIN-dev mailing list > >> [email protected] > >> http://www.fenics.org/mailman/listinfo/dolfin-dev _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
