Hi Paul, On Wed, Aug 25, 2010 at 4:26 PM, Paul Emsley <paul.ems...@bioch.ox.ac.uk> wrote: > > Hi, > > I am trying to compile RDKit for the first time, ubuntu 10.04 x86_64 ><snip> > Linking CXX shared library libSLNParse.so > /usr/bin/ld: > /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libboost_regex-mt.a(instances.o): > relocation R_X86_64_32 against > `boost::object_cache<boost::re_detail::cpp_regex_traits_base<char>, > boost::re_detail::cpp_regex_traits_implementation<char> > >::do_get(boost::re_detail::cpp_regex_traits_base<char> const&, > unsigned long)::s_data' can not be used when making a shared object; > recompile with -fPIC > /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libboost_regex-mt.a: > could not read symbols: Bad value > collect2: ld returned 1 exit status
I never compiled rdkit on that distribution, but it looks like you encountered one of the "Frequently Encountered Problems" documented at the end of this wiki page: http://code.google.com/p/rdkit/wiki/BuildingWithCmake The suggested fix is: "Add this to the arguments when you call cmake: -DBoost_USE_STATIC_LIBS=OFF" Hope that helps, Riccardo ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss