Open fleimgruber opened 3 years ago
I am getting something similar on ubuntu with pyoxidizer 0.18. I figured as much that the problem is described in the docs https://pyoxidizer.readthedocs.io/en/stable/pyoxidizer_packaging_extension_modules.html#extension-module-library-dependencies, however I have no idea how to add the missing library.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "zmq", line 103, in <module>
File "zmq.backend", line 32, in <module>
File "zmq.backend", line 27, in <module>
File "zmq.backend.select", line 32, in select_backend
File "importlib", line 127, in import_module
File "zmq.backend.cython", line 6, in <module>
ImportError: libzmq-68c212d3.so.5.2.4: cannot open shared object file: No such file or directory
error: cargo run failed
When I install pyzmq
in my venv, I see the missing library in site-packages/pyzmq.libs/libzmq-68c212d3.so.5.2.4
.
How do I tell the system to include this library as well?
Version information: Windows 10, PyOxidizer 0.10.3 with cargo.
On a conda environment with zeromq and pyzmq installed, running
pyoxidizer run
the import ofzmq.backend.cython
fails with DLL load error.I guess this is because the zeromq installation can't be found from within pyzmq in the PyOxidizer context. I read the Packaging User Guide, but could not figure out how PyOxidizer solves these situations internally - or how the user is supposed to resolve this. Any further pointers or am I missing something else? I found #107, but I see my starting point from https://github.com/indygreg/PyOxidizer/issues/107#issuecomment-516267303 where zeromq and pyzmq is already installed in the environment.