[pypy-dev] Can't run PyPy due to missing libbz2.so.1.0

Gary Robinson garyrob at me.com
Fri Dec 17 18:36:18 CET 2010


I did do ldconfig.

I tried a symlink, copying the /lib/libbz2.so.1.0.0, and the temporary rename I mentioned. An example:

dev01:~/pypy-1.4 # ln -s /lib/libbz2.so.1.0.0 /lib/libbz2.so.1.0
dev01:~/pypy-1.4 # ldconfig
dev01:~/pypy-1.4 # bin/pypy
bin/pypy: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
dev01:~/pypy-1.4 # ls -ld /lib/libbz*
lrwxrwxrwx 1 root root    20 Dec 17 12:33 /lib/libbz2.so.1.0 -> /lib/libbz2.so.1.0.0
-rwxr-xr-x 1 root root 66864 Jun 16  2006 /lib/libbz2.so.1.0.0

I keep on thinking I must be doing something stupid, but it continues to elude me. (I also tried "ldconfig /lib" with no difference)


-- 

Gary Robinson
CTO
Emergent Discovery, LLC
personal email: garyrob at me.com
work email: grobinson at emergentdiscovery.com
Company: http://www.emergentdiscovery.com
Blog:    http://www.garyrobinson.net




On Dec 17, 2010, at 12:16 PM, Armin Rigo wrote:

> Hi Gary,
> 
> On Fri, Dec 17, 2010 at 5:08 PM, Gary Robinson <garyrob at me.com> wrote:
>> As a quick experiment, I tried temporarily renaming it to   /lib/libbz2.so.1.0 but that didn't change the result.
> 
> It's strange, what I would expect on a system is that there is a
> symlink from libbz2.so.1.0 to libbz2.so.1.0.0.  Adding it should be
> enough -- did you run ldconfig after trying to rename?  It is needed
> to refresh Linux's caches.
> 
> 
> A bientôt,
> 
> Armin.




More information about the Pypy-dev mailing list