dlopen("python3912.unit.so”), failed: “libpython3.9.so.1.0 cannot open shared object file: No such file or directory
agoyeneche at gmail.com
Tue Nov 1 18:23:17 UTC 2022
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
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
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the unit