Hi Jan,
On Fri, Nov 16, 2012 at 11:54 AM, Jan Holst Jensen
<[email protected]> wrote:
> [...]
> ../../lib/libSmilesParse.so.1.2012.09.1: undefined reference to
> `boost::thread_resource_error::~thread_resource_error()'
> collect2: ld returned 1 exit status
> make[2]: *** [Code/GraphMol/graphmolIterTest] Error 1
> make[1]: *** [Code/GraphMol/CMakeFiles/graphmolIterTest.dir/all] Error 2
> make: *** [all] Error 2
I encontered a similar link problem in building rdkit on an oldish
linux x86_64 machine with boost 1.39 (that, according to the cmake
build files, is the minimum required version), but I couldn't yet find
the time to investigate the details. For the time being I worked
around it with the addition of
find_package(Boost 1.39.0 COMPONENTS thread REQUIRED)
in $RDBASE/CMakeLists.txt (after the assignment of
Boost_ADDITIONAL_VERSIONS and before "if(RDK_BUILD_PYTHON_WRAPPERS)")
and with the addition of ${Boost_THREAD_LIBRARY} to the GraphMol's
LINK_LIBRARIES in $RDBASE/Code/GraphMol/CMakeLists.txt
If I'm not wrong, a direct dependency from boost-thread is introduced
in the GraphMol library by the QueryOps module, but I can't say why
this results in a link error only in some cases.
Best regards,
Riccardo
>
>
> On the very same machine 2012_06_1 builds without a hitch. I have tried
> installing libboost-thread-dev but it makes no difference (I did
> recreate the "build" directory and re-run "cmake .." after installing
> libboost-thread-dev, just in case).
>
> I considered whether the boost version, which is 1.40.0, is too old -
> but I didn't see anything in the RDKit INSTALL file that hints that the
> boost version requirements should have changed from 2012_06_1 to
> 2012_09_1 (or did I miss it ?). boost::thread_resource_error has anyway
> been in boost since 1.34 as far as I can tell:
>
> http://www.boost.org/doc/libs/1_34_0/doc/html/boost/thread_resource_error.html
>
> So... hints ? I can get by fine with 2012_06_1 for now, so it is not urgent.
>
> Cheers
> -- Jan Holst Jensen
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Rdkit-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss