dlopen("python3912.unit.so”), failed: “libpython3.9.so.1.0 cannot open shared object file: No such file or directory
Ariel Goyeneche
agoyeneche at gmail.com
Tue Nov 1 18:23:17 UTC 2022
Hi Team,
I have to recompile Unit 1.28 with Python 3.9.12 as embedded language.
In summary my compilation steps are:
tar xzf unit-1.28.0.tar.gz
configure — openssl
configure. python —config=/bin/miniconda39/python3.9-config —module=python3912 —lib-path=/bin/miniconda39/lib/libpython3.9.so
make
Note that /bin/miniconda39/lib/libpython3.9.so exists and it is a symlink to /bin/miniconda39/lib/libpython3.9.so.1.0
As a result, the /bin/unit-1.28.0/build directory contains among other files
python3912.unit.so
unitd
unitd.8
When I am trying to start unitd I have the following error in the log file
dlopen("/bin/unit-1.28.0/build/python3912.unit.so”), failed: “libpython3.9.so.1.0 cannot open shared object file: No such file or directory”
Can you please help me to understand what the problem may be here?
Thanks
AG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20221101/2df236c5/attachment.htm>
More information about the unit
mailing list