LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-06-2005, 12:19 PM   #1
SurfCHimp
LQ Newbie
 
Registered: Sep 2004
Posts: 26

Rep: Reputation: 15
missing file libpng.so.2


I am trying to install Winamp but I seem to be missing libpng.so.2

I have browsed the internet but I can't seem to find this EXACT file.

can someone help me out here please

I am using SuSE 9.2
 
Old 02-06-2005, 12:53 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
look for libpng here

http://rpm.pbone.net/

go to advanced search and look for suse rpms

regards
 
Old 02-26-2005, 01:17 PM   #3
FrayAdjacent
Member
 
Registered: Feb 2005
Location: Austin, TX
Distribution: Fedora Core 3
Posts: 34

Rep: Reputation: 15
I too am having this problem. I have tried searching for libpng.so.2, and found several rpms, but none will install due to newer libraries already being installed. I am on a fresh install of Fedora Core 3, installed and updated last night.

I have found libpng.so.3 in /usr/lib.

I'm pretty new to Linux, so what would one do in this situation? The Winamp program needs the older libpng. How does one get this installed when there appears to be a newer version installed already? Can both exist simultaneously?

Help a noob out.
 
Old 02-26-2005, 01:22 PM   #4
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
Try making a link from /usr/lib/libpng.so.3 to /usr/lib/libpng.so.2

Probably just a newer version of that library.
 
Old 02-26-2005, 01:27 PM   #5
FrayAdjacent
Member
 
Registered: Feb 2005
Location: Austin, TX
Distribution: Fedora Core 3
Posts: 34

Rep: Reputation: 15
Quote:
Originally posted by kak
Try making a link from /usr/lib/libpng.so.3 to /usr/lib/libpng.so.2

Probably just a newer version of that library.
How does one do that?
 
Old 02-26-2005, 01:38 PM   #6
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
open a console
su to root
type "ln -s /usr/lib/libpng.so.3 /usr/lib/libpng.so.2"
without the quotes

Before I forget run /sbin/ldconfig

Last edited by kak; 02-26-2005 at 01:40 PM.
 
Old 02-26-2005, 01:42 PM   #7
FrayAdjacent
Member
 
Registered: Feb 2005
Location: Austin, TX
Distribution: Fedora Core 3
Posts: 34

Rep: Reputation: 15
Looks like it created the link correctly. An "ls -l libpn*" shows the link "libpng.so.2" pointing to "libpng.so.3".

The Winamp install still gives the failed dependancy on libpng.so.2.
 
Old 02-26-2005, 01:53 PM   #8
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
did you run ldconfig after? if so try a reboot; not sure why but sometimes even after running ldconfig the offending program still can't find the lib.
 
Old 02-26-2005, 02:05 PM   #9
FrayAdjacent
Member
 
Registered: Feb 2005
Location: Austin, TX
Distribution: Fedora Core 3
Posts: 34

Rep: Reputation: 15
Yep, did the ldconfig, no joy. Restarted, no joy. Did ldconfig again, still no joy. The Winamp rpm install keeps asking for libpng.so.2.
 
Old 02-26-2005, 02:26 PM   #10
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
After some googling; You situation is pretty common with a common solution in most "use XMMS". It seems that winamp for linux is pretty much unmaintained alpha software with lots of issues.
 
Old 02-26-2005, 03:28 PM   #11
FrayAdjacent
Member
 
Registered: Feb 2005
Location: Austin, TX
Distribution: Fedora Core 3
Posts: 34

Rep: Reputation: 15
Yeah... I'll probably see if I can get XMMS working. I think it should be in Fedora, unless RH removed it. If it is, it probably won't play MP3s anyway, so I'll see what I can find out there and see what works.

Thanks for the help!
 
Old 02-26-2005, 04:17 PM   #12
FrayAdjacent
Member
 
Registered: Feb 2005
Location: Austin, TX
Distribution: Fedora Core 3
Posts: 34

Rep: Reputation: 15
Got xmms working fine now. Glad to have some music in Linux, finally! w00t!
 
  


Reply



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
libpng and libpng-devel missing in mplayer configure mmarkvillanueva Linux - Software 2 11-29-2005 10:40 PM
"libpng missing" on xvidcap compilation ( Slack 10.2 ) Enjo Linux - Software 2 11-15-2005 12:13 PM
Missing libpng.so.2 when installing Canoni250 print driver rayza Linux - Hardware 1 12-22-2004 04:25 AM
MPlayer install problems with libpng & libpng-devel Trey2501 Linux - Newbie 18 03-05-2004 11:24 PM
libpng missing murray_linux Linux - Software 15 12-20-2003 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration