The mystery of the missing library.

David Naylor dbn at freebsd.org
Wed Jul 29 05:46:21 UTC 2015


On Tuesday, 28 July 2015 22:05:54 Bartłomiej Rutkowski wrote:
> I've checked how linux does it and it seems they're (at least Debian) 
doing
> static linking - that would fix the issue, whatever it is. Can you adjust
> the port to do the static instead of dynamic linking binary?

```
# cd /usr/local/bin

# rm pypy                                                                                               

# ln ../pypy-2.6/bin/pypy                                                                               

# ls -l pypy                                                                                            
-rwxr-xr-x  2 root  wheel  5152 Jul 28 22:10 pypy                                                                                  

# pypy                                                                                                  
Shared object "libpypy-c.so" not found, required by "pypy"                                                                         

# `which pypy`                                                                                          
Shared object "libpypy-c.so" not found, required by "pypy"
```

I had a look at Debian and they seem to have quite a large patchset 
applied to pypy.  Perhaps they patch it to make it work?  

Based on the documentation from pypy it appears they think a symlink 
should work.  

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150729/5672b679/attachment.bin>


More information about the freebsd-ports mailing list