Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-22-2008, 01:29 AM   #1
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: 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: cannot open shared object file: No such file or directory

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

Rep: Reputation: 49
Do a search for 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, 05:26 AM   #3
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 ....................


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 11:09 AM
error while loading shared library bonniehandi Linux - Newbie 2 11-18-2005 11:43 PM
JAVA JNI program to access shared library sabliny Programming 3 11-17-2005 05:13 PM
Shared library error olscratch Slackware 3 11-05-2004 03:46 PM
gnome shared library error mismacku Linux - Software 1 05-03-2003 04:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 PM.

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