Latest LQ Deal: Latest LQ Deals
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 03-21-2009, 07:58 AM   #1
sumeet inani
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
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: cannot open shared object file: No such file or directory
Old 03-21-2009, 11:51 AM   #2
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/, 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, 03:47 AM   #3
sumeet inani
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
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 03:51 AM.


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

All times are GMT -5. The time now is 04:12 AM.

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