Dear all,

On Sun, Jan 17, 2010 at 7:11 AM,  <[email protected]> wrote:
> I was able to get the code compiled without any reported errors on a Fedora
> 12 system with GCC 4.4.2 and Python 2.6.2. When I tried to use it however,
> 'from rdkit import Chem' gave me a segmentation fault. Just to test the
> system, I was able to get the Q3_2009_1 code built with the same build of
> boost (1.41.0), etc.

After some iterations Kirk and I determined that the problem here was
with cmake and boost versions. Kirk's machine had boost 1.39
pre-installed and he had compiled boost 1.41 himself. For some reason
cmake was compiling using v1.41 version and linking against v1.39.
This led to the seg faults. Making sure 1.39 was used for both
compilation and linking cleared up the problem.

I'm not sure why this problem arose, but it could have something to do
with the cmake version. I have successfully specified an alternate
boost directory using cmake v2.8.0, but I guess Fedora 12 comes with
v2.6.

Take home lesson: if you encounter strange crashing problems with
cmake-based builds, check to make sure that you're using the correct
boost shared libs.

Thanks to Kirk for his patience in tracking this problem down.
-greg

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to