meshlab icon indicating copy to clipboard operation
meshlab copied to clipboard

pymeshlab, Cannot load library `libio_e57.so`

Open ElmoShim opened this issue 5 months ago • 3 comments

If I install pymeshlab==2023.12 through pip and run import pymeshlab

I get following error :

>>> import pymeshlab
Warning:
Unable to load the following plugins:

        libio_e57.so: libio_e57.so does not seem to be a Qt Plugin.

Cannot load library ...... /python3.11/site-packages/pymeshlab/lib/plugins/libio_e57.so: (/lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0)

I found that similar issue occured in here

so I tried pip install pymeshlab==2023.10 and works fine.

ElmoShim avatar Jan 23 '24 01:01 ElmoShim

It can be handled by conda install -y libffi==3.3. I see that the libffi of my miniconda3 is 3.4(ffi_type_pointer cannot be found)., while the one installed in my Ubuntu system is 3.3 (ffi_type_pointer can be found). However, it may modify minor versions of openssl and python...

chase6305 avatar Jan 29 '24 03:01 chase6305

Neither method solved the problem

tornado404 avatar Apr 23 '24 02:04 tornado404

conda install -y libffi==3.3

This fixed my problem

JunzheJosephZhu avatar Apr 23 '24 08:04 JunzheJosephZhu