My program is written in cpp and it uses a non standard library. I have compiled successfully by linking it to the library. But when i try to run the program. it give a error message like:
"error while loading shared libraries: ***.so: cannot open shared object file: No such file or directory"
and when i use ldd command, it shows cannot find the ***.so.
I guess i need to add the library directory to the runtime search path. But i do not have enough privillage to add the path to $LD_LIBRARY_PATH in the system. So any suggestion to deal with this problem??
Thank you very much for kind enlightment!!!!
Btw, I am using g++ 3.4.4 (Seems i can use -R/...../lib to set the path during compile/linking time in some old versions.) But new one cannot recognize it