Re: Installation layout of the PyPy 3.8 Fedora package

Matti Picus <[email protected]> Thu, 27 Jan 2022 16:54:47 +0200
Newsgroups gmane.comp.python.pypy
Message-ID <[email protected]>
On 27/1/22 14:59, Miro Hrončok wrote:
> ...
> The only remaining thing is libpypy3.9-c.so in /usr/bin.
> I'd like to move it to /usr/lib64 where it will be found.
>
> Technically, Fedora forbids an unversioned so file there.
>
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_downstream_so_name_versioning 
>
>
> CPython has libpython3.9.so.1.0.
>
> $ objdump -p /usr/lib64/libpython3.9.so.1.0 | grep 'SONAME'
>   SONAME               libpython3.9.so.1.0
>
> Do you think PyPy can do this as well? Or is there a reason not to?
>
> Thanks!


(Previously replied privately, sorry about that).


I tried moving the so to /usr/lib64/libpypy3-c.so.1.0 and adding a 
symlink to /usr/lib64/libpypy3-c.so.

After running ldconfig to pick up the new file, I could run pypy3-c, and 
it seems venv and virtualenv do not complain about missing the shared 
object.


So it seems it JustWorks.


Matti

_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev