LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shared Library error its showing while i want to see output of the program (https://www.linuxquestions.org/questions/linux-newbie-8/shared-library-error-its-showing-while-i-want-to-see-output-of-the-program-685324/)

joti 11-22-2008 01:29 AM

Shared Library error its showing while i want to see output of the program
 
I have been trying to see the output of makefile..its compilation is successufully done but when i going to see output of target file its showing me SHARED LIBRAREY ERROR : error while loading shared libraries: libsofia-sip-ua.so.0: cannot open shared object file: No such file or directoery. when i compiling no error but when I trying to see target output file it returns "error while loading shared libraries".

I have tried a search on Google, but I really don't know but im not understanding what shall i do clear this error where shal i have to modify.

Can anyone help me to solve this? Please bear in mind that I am new to this and so would appreciate being told in plain English what I need to do or where I need to start

im working on red hat linux version, in wrote a makefile and in that i given link path but even thought its showing me link error at the time of output..........

i tried d solutions posted by u bt still d same error it showing........
error while loading shared libraries: libsofia-sip-ua.so.0: cannot open shared object file: No such file or directory

w3bd3vil 11-22-2008 01:40 AM

Do a search for libsofia-sip-ua.so.0 to see if its present.
If not try doing a yum install sofia-sip

See if you still get the error after doing the above.

joti 11-29-2008 05:26 AM

hey!!! i cleared shared library error .............
 
have to give path -Wl,-rpath,usr/local/lib .........
in makefile i have to give ....................
:cool:


All times are GMT -5. The time now is 02:46 AM.