This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: DT_RPATH from dependent lib ignored by ld?
On Thu, Jan 20, 2011 at 03:13:35PM -0600, Adam Kemp wrote:
> I just figured out more about what is going on. It looks like ld is
> actually looking at the DT_RPATH for my shared library, but it is not
> interpreting the $ORIGIN special path.
Yes, that will be the problem. ld has no support for $ORIGIN or other
substituted strings in DT_RPATH. There is no reason this could not be
done; It's just that no one has yet been sufficiently motivated to
contribute the code.
--
Alan Modra
Australia Development Lab, IBM