The error "/usr/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value" probably means that this library was not compiled for 64 bits.
On Feb 11, 2013, at 10:11 PM, dasari@jncasr.ac.in wrote:
Dear Prof. Matthias Troyer,
I used -fPIC flag at CXXFLAGS in CMakeCache.txt. My previous error was solved. But I got an another error. Please see it below. I solved this error by went through the previous postings in the Alps forum. Finally I installed ALPS. Thanks to ALPS forum.
Linking CXX shared library cthyb.so /usr/bin/ld: /usr/lib/python2.7/config/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [applications/dmft/qmc/cthyb.so] Error 1 make[1]: *** [applications/dmft/qmc/CMakeFiles/cthyb.so.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Linking CXX executable worm [100%] Built target worm Linking CXX executable worm_evaluate [100%] Built target worm_evaluate make: *** [all] Error 2
With regards, Dasari.
----- Original Message ----- From: "Matthias Troyer" troyer@phys.ethz.ch To: comp-phys-alps-users@lists.phys.ethz.ch Sent: Tuesday, February 12, 2013 11:39:30 AM Subject: Re: [ALPS-users] alps-2.1.1-r6670-src-with-boost installation error on ubuntu 12.04
Dear Sir/Madam,
I am looking for the reply to my previous mail.
Just look at the mails on the list. The reply has already been posted.