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
cas...@ya...
|