Huelse / HEAAN-Python

HEAAN lib binds for Python
MIT License
32 stars 7 forks source link

No rule to make target '/usr/local/lib/libntl.so' #1

Open soniaportilloclota opened 4 years ago

soniaportilloclota commented 4 years ago

When I get to the last step of working with PYHEAAN I find a problem. My problem is that when I run

PYHEAAN

cd src cmake . make

or

python3 setup.py build_ext -i

when I run the last make I get the following error.

(base) ..@..-VirtualBox:~/Escritorio/PYHEAAN/src$ make make[2]: No hay ninguna regla para construir el objetivo '/usr/local/lib/libntl.so', necesario para 'HEAAN.cpython-37m-x86_64-linux-gnu.so'. Alto. make[1]: [CMakeFiles/Makefile2:73: CMakeFiles/HEAAN.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

I have installed libntl-dev, I have followed all the steps found in the README. '/usr/local/lib/libntl.so' doesn't exist and I don't know how to get it.

Thank you.

Huelse commented 4 years ago

Have you built a new shared NTL lib? Change the NTL's source src/DoConfig line 10 'Shared' to on and change the path in setup.py line 19 to it.