[Bug dynamic-link/17251] RPATH of shared libraries doesn't follow symlinks for $ORIGIN

bpshacklett at gmail dot com sourceware-bugzilla@sourceware.org
Thu Aug 14 15:59:00 GMT 2014


https://sourceware.org/bugzilla/show_bug.cgi?id=17251

--- Comment #5 from Brennan Shacklett <bpshacklett at gmail dot com> ---
Well I defined __realpath in dl-realpath.c and included that into
rtld-routines, doesn't that allow the linker to use it?
I'm not sure what you mean about __realpath being broken with a non null 2nd
argument, the version which I defined in dl-realpath doesn't even handle a NULL
second argument (I didn't think it was necessary). Are you saying I should
rewrite the dl-realpath version to handle that NULL and dynamically allocate
its own memory?

There is a more detailed explanation in my mailing list post here:
https://sourceware.org/ml/libc-alpha/2014-08/msg00160.html if you want more
details.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list