This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
rpath question
- From: Aaron Cody <aaron at aaroncody dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 23 Apr 2015 14:17:14 -0700
- Subject: rpath question
- Authentication-results: sourceware.org; auth=none
let's say I have an executable myprog that depends on a shared library foo.so
foo.so in turn depends on bar.so
now I set rpath on myprog to be /tmp, rpath on foo.so to be /tmp/foo
and rpath on bar.so to be /tmp/bar
Q: when I run foo, what will the resulting rpath be?
/tmp
/tmp:/tmp/foo
/tmp:/tmp/foo:/tmp/bar
some other value?
TIA