LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-22-2008, 02:29 AM   #1
joti
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
Thumbs up 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

Last edited by joti; 11-26-2008 at 01:41 AM. Reason: some body given rply bt still error not yer resolved.........
 
Old 11-22-2008, 02:40 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
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.
 
Old 11-29-2008, 06:26 AM   #3
joti
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
hey!!! i cleared shared library error .............

have to give path -Wl,-rpath,usr/local/lib .........
in makefile i have to give ....................
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to call shared library from within a C program pbhat Linux - Software 12 11-19-2007 12:09 PM
error while loading shared library bonniehandi Linux - Newbie 2 11-19-2005 12:43 AM
JAVA JNI program to access shared library sabliny Programming 3 11-17-2005 06:13 PM
Shared library error olscratch Slackware 3 11-05-2004 04:46 PM
gnome shared library error mismacku Linux - Software 1 05-03-2003 05:27 PM


All times are GMT -5. The time now is 06:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration