On Fri, Sep 28, 2001 at 08:16:44PM +0200, J.H.M. Dassen (Ray) wrote: Sorry for CC'ing, not sure you are subscribed to debian-user, and I'm taking this off debian-devel. (As suggested.)
> > I have compiled a program here that is looking for X libraries in > > /usr/lib... > > On a Red Hat system by any chance? I made a mistake, these binaries were actually not compiled by me. (I compiled a lot of stuff lately, I got a little confused ;) So maybe it was *compiled* on RedHat. It still shouldn't have hardcoded paths, though, should it? > > I don't want to make symlinks for all of these, that's just plain ugly. > > What else can I do, put them in ld.so.preload or something? > > It sounds like you compiled it with a -rpath option. Check if "objdump > --all-headers spice3" has an "RPATH" setting in it. If it does, try to > compile without it. If that's not feasible, edit the binary and make the > first byte of the RPATH data into an ASCII NUL. Did not find any "RPATH" in objdump's output. Thanks, Hugo van der Merwe