[GD-Linux] library search paths
Ignacio Castaño <[email protected]> Thu, 05 Feb 2004 19:10:33 +0100
| Newsgroups | gmane.games.devel.linux |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have a few programs that are linked against libraries that are placed on the same path as the executable. That works fine I link the executable using '-rpath,.', but only when the program has been executed from the location of the executable. I would like to run the executable from anywhere and had the following idea: create a simple program that changes the current folder and creates another process for the real program, so that the real program starts in the correct location. Does somebody know a better way of doing the same? Thanks in advance, -- Ignacio Castaño [email protected] ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Gamedevlists-linux mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-linux Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=554