LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 03-21-2009, 06:58 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 869
Blog Entries: 26

Rep: Reputation: 47
problem in using madplay


i installed libid3,libmad then madplay from source tarballs.'./configure','make','sudo make install' gave no errors in any of them.When I run 'madplay' following error occurs
madplay: error while loading shared libraries: libmad.so.0: cannot open shared object file: No such file or directory
 
Old 03-21-2009, 10:51 AM   #2
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
After make install you have to configure the dynamic linker to find the newly install libraries at run-time. Look under /etc/ld.so.conf.d/, there are all kind of *.conf files there which contain lists of directories where the dynamic linker looks for libraries. Your libraries are probably in /usr/local/lib (check it) so you have to create a *.conf file or add a line to one of the existing files if your directory isn't already listed anywhere. Then you have to run the command 'sudo /sbin/ldconfig' to update the dynamic linker's cache and your app should work.
 
1 members found this post helpful.
Old 12-15-2009, 02:47 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 869
Blog Entries: 26

Original Poster
Rep: Reputation: 47
in my case 'sudo /sbin/ldconfig' worked

As mentioned in title I just ran
sudo /sbin/ldconfig

Thank You Udi.

Last edited by sumeet inani; 12-15-2009 at 02:51 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
madplay crosscompile Jinho Kim Linux - Embedded & Single-board computer 1 06-16-2009 11:10 AM
Madplay in slave mode??? billy242 Linux - Software 0 03-03-2009 07:39 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration