This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to make an application look somewhere other than /lib for ld-linux.so.2


Mark Cuss wrote:
> I'm pretty certain that I'm not the only person who struggles with the "Oh, 
> that app was built on RH 8 so it won't run on RH 7.3" problems, so I'm 
> trying to find a solution where I can configure my build system in such a 
> way that I can distribute a set of libraries with my applications to that 
> it will run on any distro - at least all of the Red Hats, Fedora Cores, and 
> RHELs anyways.

Why restrict yourself to a small subset of the list of distros?  With
a little bit of effort you can handle Debian, Ubuntu, SuSE, Mandrake
and others too.

This question was asked a while go on another mailing list.  I posted
what I do there in that list.  Here is a pointer to an archive of my
method of platform independence.  Basically I bundle all of the
libraries and wrap the executable in a script wrapper.

  http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=32310

This is off-topic for this list.  But I am happy to discuss the issues
with you either directly or in a more appropriate forum.

Bob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]