You probably forgot to do export LD_LIBRARY_PATH=/usr/local/lib before running your python script. libopenbabel.so is getting installed in /usr/local/lib by default.
Igor On Thu, 2011-03-10 at 21:09 -0500, qiancheng shen wrote: > Dear All, > My openbabel version is 2.3.0 and python version is 2.7. > I downloaded openbabel 2.3.0 stable release and followed > the guide in the document. I included "-DPYTHON_BINDINGS=ON" while > making with cmake and also I typed "export > PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH" when > finished. > But when I want to import openbabel , there is an error says > "ImportError:libopenbabel.so.4:cannot open shared object file : No > such file or directory". > Could you help me? > > > Qiancheng Shen > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss