View Single Post
Old 06-25-2022, 05:04 PM   #64
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,807
Karma: 6000000
Join Date: Nov 2009
Device: many
Have you checked out the last one's relocate.py script?

https://github.com/niess/python-appi...ge/relocate.py

That script uses RPATHS and $ORIGIN to fix all the shared libs to be relative to the python executable. This is exactly how I make the macOS python build relocatable using otool and install_name tools of macOS to fix rpaths instead of patchelf.

So it should work with building a shared library version of python.

Might be worth a shot.
KevinH is offline   Reply With Quote