Re: Running a libc5 binary - weird problem
On Wed, Oct 14, 1998 at 02:36:28AM +0300, Alex Shnitman wrote:
> Why does it try to link the libraries from /usr/X11R6/lib? When I try to
> run it it naturally segfaults. Are the paths hard-coded into the binary?
Probably; check by doing "objdump --allheaders mule" to see if there's an
RPATH entry.
> How can I get around that?
If you can't recompile it, you could try replacing the first character of
the RPATH entry by the NULL (0) character; admittedly, it's crude, but it
has worked for me in the past.
HTH,
Ray
--
Cyberspace, a final frontier. These are the voyages of my messages,
on a lightspeed mission to explore strange new systems and to boldly go
where no data has gone before.
Reply to: