The mystery of the missing library.
David Naylor
dbn at freebsd.org
Wed Jul 29 05:43:11 UTC 2015
On Tuesday, 28 July 2015 17:08:37 Bryan Drewery wrote:
> On 7/28/15 11:46 AM, David Naylor wrote:
> > Why would the shared library be found when using a relative path
but not
> > when using an absolute path? Is this a bug in FreeBSD?
>
> What is the output for readelf?
>
> readelf -d `which pypy`|grep -i libr
```
# readelf -d `which pypy` | grep -i libr
0x0000000000000001 (NEEDED) Shared library: [libpypy-c.so]
0x0000000000000001 (NEEDED) Shared library: [libthr.so.3]
0x0000000000000001 (NEEDED) Shared library: [libc.so.7]
0x000000000000000f (RPATH) Library rpath: [$ORIGIN/]
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/]
```
-------------- 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-python/attachments/20150729/590bfa1c/attachment.bin>
More information about the freebsd-python
mailing list