rpath question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux