I am trying to install Charm crypto python framework in ubuntu 11.04 with python 2.7. Requirements say that i should have gmp installed 5.*. I have successfully installed gmp lib and i have run all the tests. Also after running `
ldconfig -p |grep libgmp libgmpxx.so.4 (libc6,x86-64) => /usr/lib/libgmpxx.so.4 libgmpxx.so (libc6,x86-64) => /usr/lib/libgmpxx.so libgmp.so.10 (libc6,x86-64) => /usr/local/lib/libgmp.so.10 libgmp.so.3 (libc6,x86-64) => /usr/lib/libgmp.so.3 libgmp.so (libc6,x86-64) => /usr/local/lib/libgmp.so libgmp.so (libc6,x86-64) => /usr/lib/libgmp.so
In order to install Charm i have downloaded it from here. I run
./configure, make , make install, and
sdconfig as the INSTALL says.
But after running make test for i am getting a lot of errors of this form:
charm/Charm-Crypto-0.43/charm/core/math/integer.so: undefined symbol: __gmpz_powm_sec
Charm shared libraries cannot find libgmp. How can i fix that? I made an ldd integer.so and it uses libgmp.so.3. In my system libgmp.so.3 is placed under /usr/lib so added this line under te config.mk file of the Charm framework:
LDFLAGS= -m64 -L/usr/lib .
(-m64 was already there). I
make install again but i am getting the same error