LinuxQuestions.org
Register a domain and help support LQ
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 03-29-2005, 05:52 PM   #1
shewfly
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
KDE Can't Find libpng.so.3


Greetings,

Since I started using Mandrake 10.0 Official a few months ago I've been to solve my problems by searching these forums-- But I finally had to break down and post. I'm back using Windoze.

Problem:
When booting into KDE a blank graphic screen flashes, fails, and goes to the terminal-- giving this message:

"Error while loading shared libraries--> libpng.so.3 no such file or directory"

It then goes into (paraphrasing) /usr/bin/startkde: line 201 Xmessage command not found.

and "Error: can't connect kdeinit


This all happened after I installed the libpng.so.2 rpm due to multiple media players telling me I needed it (Xine, XMM and mplayer).

I tried installing libpng.so.3 through Mandrake's URPMI but it says "everything is already installed." Am I missing a symbolic link somewhere?

Thanks for any insight!

Newbie-ingly Yours,
Shewfly
 
Old 03-30-2005, 11:21 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Did you install these packages using urpmi, or manually. If you had used urpmi, you should not have experienced this problem. A possible solution would be to uninstall libpng and your multimedia apps and then reinstall it as well as your multimedia apps using urpmi and all dependencies should be automatically resolved.

Last edited by reddazz; 03-30-2005 at 11:22 AM.
 
Old 03-30-2005, 04:38 PM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
reddazz is spot on.

When I was still using mandrake, I only ever had problems like that when I tried to use "non-mandrake" rpms. Eventually I just said "sod it" and went to the easy urpmi site, followed the instructions exactly, and got mirror sources for everything.

It meant that whenever I installed something, I could usually find it in the list of available software - the only thing to remember, is that you can sometimes have multiple sources for the same packages - If that was the case, I always went for the version provided by the PLF, cos their stuff usually had more "bells and whistles", and was more visually pleasing (eye candy - yum yum!). Plus the PLF often released newer versions of stuff, sooner than mandrake did!

good luck.

regards

John
 
Old 03-31-2005, 10:29 PM   #4
shewfly
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for your responses.
Yes, I was downloading libraries from rpm.pbone.net to get the media players to work. I didn't know about urpmi until recently

I tried to remove all traces of libpng but when I used urpmi to reinstall it I get the message "everything already installed."

I'm not sure if this is meaningful, but when I try to use the urpmi.update libpng command I get also get "trying to select nonexistent medium "libpng." So it's already installed and "nonexistent"? Is my urpmi options screwed? If so, should I try downloading and installing an rpm package through lynx?

Again, I really appreciate your comments. I'm learning, but I'm in one of those jams where moving my files to my external drive and reinstalling Mandrake would be the quicker fix (I'm an ultra newbie).

I'll hold on another day. Your help is greatly appreciated.

Greg
 
Old 04-01-2005, 03:39 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Do
Code:
$rpm -qa | grep -i libpng
If it shows up as being installed, then do
Code:
#rpm -e --nodeps libpng
After that try reinstalling using urpmi. Hope you have learnt not to use third party repositories since they can cause a lot of problems.
 
Old 04-01-2005, 08:08 AM   #6
shewfly
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
yes, I've definitely learned my lesson

It's still giving me a conflicted message. This is what comes up:

$rpm -qa | grep -i libpng

“libpng3-1.2.5-10mdk”

#rpm -e --nodeps libpng

“error: package libpng is not installed”

It still tells me “everything already installed” when I try installing it with urpmi.


I appreciate your help,
Greg
 
Old 04-01-2005, 10:25 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Try doing
Code:
#rpm -e --nodeps libpng3
If you keep getting an error message that it not installed, download it from a Mandrake urpmi repository or mirror. Install it (you may have to force the installation using --nodeps and --force if the system insists its installed. Once thats done, install other packages using urpmi.
 
Old 04-01-2005, 10:39 AM   #8
shewfly
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
I did try to force it with no success. I threw the installation disc in the drive and ran it as "upgrade." It seemed to fix the problem without wiping everything out.

Now whatever I did trying to install mplayer and Xine makes kmix crash. I have no audio-- which I guess is for another post.

I greatly appreciate your help,
Greg
 
  


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
libpng and libpng-devel missing in mplayer configure mmarkvillanueva Linux - Software 2 11-29-2005 11:40 PM
Error compiling VBA "Cannot find libPng" dustin_wielenga Linux - General 1 03-06-2005 03:39 AM
Where to find download of libpng-dev Phaete Linux - Software 2 09-02-2004 03:06 PM
MPlayer install problems with libpng & libpng-devel Trey2501 Linux - Newbie 18 03-06-2004 12:24 AM
Where can i find fonts for KDE skoal Linux - General 1 12-18-2001 04:02 AM


All times are GMT -5. The time now is 02:16 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