Neal Becker wrote: > Matti Picus wrote: > >> >> >> On 12/01/18 14:33, Neal Becker wrote: >>> Haven't tried pypy for some time, but just tried it on fedora 27. >>> pypy >>> pypy: error while loading shared libraries: libbz2.so.1.0: cannot open >>> shared object file: No such file or directory >>> >>> I d/l pypy3-v5.10.1-linux64.tar.bz2 and installed locally. >>> >>> _______________________________________________ >>> pypy-dev mailing list >>> pypy-dev@python.org >>> https://mail.python.org/mailman/listinfo/pypy-dev >> Thanks for the report. There is a libbz2 package available on rpm. >> >> On python3, the _bz2 module depends on this library. What happens when >> you do >> >> python3 -c"import _bz2; print(_bz2)" >> and then check the dependencies of the `_bz2.**.so` with ldd ? >> On Ubuntu it also depends on libbz2.so >> Matti > python3 -c"import _bz2; print(_bz2)" > <module '_bz2' from '/usr/lib64/python3.6/lib-dynload/_bz2.cpython-36m- > x86_64-linux-gnu.so'> > > $ ldd > /usr/lib64/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so > linux-vdso.so.1 (0x00007ffdfbfaf000) libbz2.so.1 => /lib64/libbz2.so.1 > (0x00007f3ed6099000) locate libbz2.so /usr/lib/libbz2.so.1 /usr/lib/libbz2.so.1.0.6 /usr/lib64/libbz2.so /usr/lib64/libbz2.so.1 /usr/lib64/libbz2.so.1.0.6
So Fedora has libbz2.so.1 and libbz2.so.1.0.6, but no libbz2.so.1.0. In fact, isn't depending on libbz2.so.1.0 an error? _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev