fplll / fpylll

A Python interface for https://github.com/fplll/fplll
GNU General Public License v2.0
122 stars 62 forks source link

libfp111.so.6 missing #169

Closed johughes99 closed 4 years ago

johughes99 commented 4 years ago

On trying to run some python code I get the following error:

from fpylll import LLL, BKZ, CVP, IntegerMatrix, GSO, Enumeration, Pruning, EnumerationError File "/home/johughes/.local/lib/python3.6/site-packages/fpylll/init.py", line 3, in from .fplll.integer_matrix import IntegerMatrix ImportError: libfplll.so.6: cannot open shared object file: No such file or directory

I have successfully installed fplll in a previous step - getting the latest source from GitHuB. So not sure what it's look for.

malb commented 4 years ago

Did you export LD_LIBRARY_PATH="$VIRTUAL_ENV/lib" ?

johughes99 commented 4 years ago

Many thanks - that sorted it out.

bo-hub commented 1 year ago

Hi, I faced the same issue

ImportError: libfplll.so.8: cannot open shared object file: No such file or directory

How to use this command export LD_LIBRARY_PATH="$VIRTUAL_ENV/lib" ? @malb

bo-hub commented 1 year ago

Should I change the $VIRTUAL_ENV to some specific path?

bo-hub commented 1 year ago

I find my libfplll.so file in /usr/local/lib. I add export LD_LIBRARY_PATH=/usr/local/lib in .bashrc file. Reload the terminal. Then this solved.