Re: A problem I can't solve
Roland McGrath <roland@frob.com> wrote:
> > I was afraid of this. There are two possibilities: The binary has an rpath
> > hard coded, which happened before I fixed my specs file.
>
> The way to see this is with "objdump --private-headers".
>
> > Or the linker does not search the /usr/lib directory at all.
>
> That might well be the case.
Yes, I believe the dynamic linker uses the directories in its own
RPATH as defaults:
$ objdump -p /src/Bak/hurd/lib/ld.so |grep RPATH
RPATH /lib
$ objdump -p /lib/ld-linux.so.2 |grep RPATH
RPATH /lib:/usr/lib
-John
Reply to: