Remove dynamic dependencies from wax
if we ld
final shared object file we get:
kmochocki@Papuga:~/clive/clive/.venv/lib/python3.10/site-packages/wax$ ld wax.cpython-310-x86_64-linux-gnu.so
ld: warning: libboost_chrono.so.1.74.0, needed by wax.cpython-310-x86_64-linux-gnu.so, not found (try using -rpath or -rpath-link)
ld: warning: libboost_context.so.1.74.0, needed by wax.cpython-310-x86_64-linux-gnu.so, not found (try using -rpath or -rpath-link)
ld: warning: libboost_coroutine.so.1.74.0, needed by wax.cpython-310-x86_64-linux-gnu.so, not found (try using -rpath or -rpath-link)
ld: warning: cannot find entry symbol _start; not setting start address
ld: wax.cpython-310-x86_64-linux-gnu.so: undefined reference to `PyObje...
proposal is to build a static boost libraries, but with enabled -fPIC
switch and link it directly into so binary.
Similar problem can appear for OpenSSL library, but probably this dependency will be satisfied by installing Python dependencies containing an OpenSSL runtime.
Edited by Bartek Wrona