Hello,

I have python program which uses RDKit and: some functions in the
program require old version of RDKit (don't ask me why), and some other
(my code) in the program requires current version of RDKit.
My problem is how to combine two different versions of RDKit in one
python program. 
I instaled new version of RDKit in other place, renamed directory with
python package (to rdkitnew, without touching old version). This
_almost_ works - I have problem with shared library:

ImportError: [...] rdBase.so: undefined symbol: _ZN5RDKit12boostVersionE

This is because new version use library from old RDkit. This is  the
place where I stuck. I cannot just add new directory to LD_LIBRARY_PATH
this will cause problem in code which uses old RDKit. I thought to set
LD_LIBRARY_PATH directly before import new version of RDKit using
os.environ but it does not work properly (only one version of shared
library are in memory this which is load earlier). So my idea is to
build new version of RDKit without dynamic (shared) library. 
Is it possible? How to do this?
Do you have any other (better) idea how to fix this problem?


Regards, 

Rafal

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to