2018年1月14日 01:00于 pypy-dev-requ...@python.org写道: > > Send pypy-dev mailing list submissions to > pypy-dev@python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/pypy-dev > or, via email, send a message with subject or body 'help' to > pypy-dev-requ...@python.org > > You can reach the person managing the list at > pypy-dev-ow...@python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pypy-dev digest..." > > > Today's Topics: > > 1. Re: pypy 5.10.1 release candidates are up, please try them > out (Neal Becker) > 2. Re: pypy 5.10.1 release candidates are up, please try them > out (Neal Becker) > 3. Re: pypy 5.10.1 release candidates are up, please try them > out (Armin Rigo) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 12 Jan 2018 14:11:51 -0500 > From: Neal Becker <ndbeck...@gmail.com> > To: pypy-dev@python.org > Subject: Re: [pypy-dev] pypy 5.10.1 release candidates are up, please > try them out > Message-ID: <p3b15q$khv$1...@blaine.gmane.org> > Content-Type: text/plain; charset="ISO-8859-1" > > 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) > > > > ------------------------------ > > Message: 2 > Date: Fri, 12 Jan 2018 14:35:44 -0500 > From: Neal Becker <ndbeck...@gmail.com> > To: pypy-dev@python.org > Subject: Re: [pypy-dev] pypy 5.10.1 release candidates are up, please > try them out > Message-ID: <p3b2ik$drm$1...@blaine.gmane.org> > Content-Type: text/plain; charset="ISO-8859-1" > > 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? > > > > ------------------------------ > > Message: 3 > Date: Fri, 12 Jan 2018 23:03:18 +0100 > From: Armin Rigo <armin.r...@gmail.com> > To: Neal Becker <ndbeck...@gmail.com> > Cc: PyPy Developer Mailing List <pypy-dev@python.org> > Subject: Re: [pypy-dev] pypy 5.10.1 release candidates are up, please > try them out > Message-ID: > <camsv6x09qvmfgtkskq1x0x-rkf8wzmt5_dr6jhpk8qbmm_y...@mail.gmail.com> > Content-Type: text/plain; charset="UTF-8" > > Hi Neal, > > On 12 January 2018 at 20:35, Neal Becker <ndbeck...@gmail.com> wrote: > > 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? > > Unless I'm mistaken, it's what we get from ``gcc -lbz2`` on Ubuntu. > If you think doing so gives a dependency that is erroneous, then the > problem is either inside gcc or Ubuntu, not PyPy. > > In general, taking a binary compiled for Linux distribution X and > trying to use it in Linux distribution Y only works if the stars are > correctly aligned. This is known and documented in > http://pypy.org/download.html#linux-binaries-and-common-distributions > > > A bient?t, > > Armin. > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > > ------------------------------ > > End of pypy-dev Digest, Vol 81, Issue 17 > **************************************** > _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev