Hi All,
I have a executable file at a particular location in the filesystem. From
root directory i run this exe. This exe will load a shared object from
another location (say /usr/lib). Now the shared object wants to read a
config file which is in the directory where the exe is located. How can it
get that path.

Remember we are running the exe from the home directory and exe can be
located in /usr/bin directory. Now the shared objected which is loaded by
this exe needs the path /usr/bin . It is not the PWD(present working
directory).

Please help.

TIA


[Non-text portions of this message have been removed]

Reply via email to