[M3devel] how to find dependent .so files?

Mike Frysinger vapier at gentoo.org
Tue Apr 28 15:00:26 CEST 2009


On Tuesday 28 April 2009 04:03:13 Jay wrote:
> Normally we have:
>
>  /usr/local/cm3/bin/someexe
>  /usr/local/cm3/lib/libfoo.so symlink to ../pkg/foo/target/libfoo.so
>  /usr/local/cm3/lib/libbar.so symlink to ../pkg/bar/target/libbar.so
>
> Linking from someexe to $ORIGIN/../lib works, ok.
> But from libfoo to libbar requires $ORIGIN/../../../lib.
>   or $ORIGIN/../../bar/target.

what's wrong with just $ORIGIN ?  they're in the same directory already.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090428/11653618/attachment-0002.sig>


More information about the M3devel mailing list