Hi Zach,
On Thu, Sep 26, 2013 at 4:02 PM, Zachary Charlop-Powers <
zchar...@mail.rockefeller.edu> wrote:
>
> After following the directions on the AnacondaBuild webpage I configure my
> .zshrc as follows (rdkit root is my homedirectory/rdkit ):
>
> export PATH=/usr/local/bin:$PATH
> export RDBase=/Users/zachpowers/rdkit/
> export DYLD_LIBRARY_PATH=$RDBASE/lib
> export PYTHONPATH=$PYTHONPATH:$RDBASE
> export PATH=~/anaconda/bin:$PATH
>
> When I try to load RDKit I encounter an error:
>
> In [1]: from rdkit import Chem
> ---------------------------------------------------------------------------
> ImportError Traceback (most recent call last)
> <ipython-input-1-17d7acb427ab> in <module>()
> ----> 1 from rdkit import Chem
>
>
> /Users/zachpowers/anaconda/python.app/Contents/lib/python2.7/site-packages/rdkit/Chem/__init__.py
> in <module>()
> 16
> 17 """
> ---> 18 from rdkit import rdBase
> 19 from rdkit import RDConfig
> 20
>
> ImportError:
> dlopen(/Users/zachpowers/anaconda/python.app/Contents/lib/python2.7/site-packages/rdkit/rdBase.so,
> 2): Library not loaded: libRDGeneral.1.dylib
> Referenced from:
> /Users/zachpowers/anaconda/python.app/Contents/lib/python2.7/site-packages/rdkit/rdBase.so
> Reason: image not found
>
>
> I have tried changing the DYLD_Library and PYTHONPATH directories to
> include the folders with libRDGeneral.1.dylib but am still running into
> trouble.
>
I was not able to reproduce this particular problem, but I had other
problems making the RDKit build work with anaconda on my Mac. I am still
trying to get to the bottom of those.
Looking a second time, there is a typo in the above. You have:
export RDBase=/Users/zachpowers/rdkit/
export DYLD_LIBRARY_PATH=$RDBASE/lib
export PYTHONPATH=$PYTHONPATH:$RDBASE
but I think you should have:
export RDBASE=/Users/zachpowers/rdkit/
export DYLD_LIBRARY_PATH=$RDBASE/lib
export PYTHONPATH=$PYTHONPATH:$RDBASE
Can you please give that a try and see if it helps?
-greg
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss