Why are you linking with a static libpyton in /usr/local/lib? Ubuntu does
not come with packaged libpyton?
I would try either compiling RDKit as a set of static libraries (since
you're linking to a static libpyton), or getting a shared libpython.so.
Or/and also try to recompile with -fPIC as the error message recommends.
Cheers,
Igor
On Thu, Jul 24, 2014 at 9:40 AM, Jessica Krause <jessica.kra...@tu-bs.de>
wrote:
> Dear all,
>
> I tried to install RDKit 2014 on Ubuntu 14.04 but I did
> not succeed!
>
>
> While executing the make command in the RDKit_2014_03_1/build directory, I
> recieved the following error:
>
> [ 0%] Built target inchi_support
> [ 1%] Built target RDGeneral
> [ 3%] Built target RDGeneral_static
> [ 3%] Built target testDict
> Linking CXX shared library ../../lib/libRDBoost.so
> /usr/bin/ld: /usr/local/lib/libpython2.7.a(exceptions.o): relocation
> R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared
> object; recompile with -fPIC
> /usr/local/lib/libpython2.7.a: error adding symbols: Bad value
> collect2: error: ld returned 1 exit status
> make[2]: *** [lib/libRDBoost.so.1.2014.03.1] Error 1
> make[1]: *** [Code/RDBoost/CMakeFiles/RDBoost.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
>
> the environmental variables that I have used are:
>
> export RDBASE=opt/RDKit_2014_03_1/
> export
> LD_LIBRARY_PATH=opt/RDKit_2014_03_1/build/lib/:usr/local/src/boost_1_55_0/libs/
> export PYTHONPATH=opt/RDKit_2014_03_1/
>
>
> Please help me with this problem.
>
> Thanks in advance.
>
> Regards,
> Jessica Krause
>
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss