Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-19-2002, 02:46 PM   #1
Registered: Jun 2001
Location: Chicago
Distribution: Mandrake 10.0 Official
Posts: 181

Rep: Reputation: 30
libpng problems

I keep running into a brick wall (or maybe I'm the wall...) when it comes to libpng.

I upgraded to KDE3, using rpm -i to install the RPMs. Probably should have used rpm -U instead. This left me with libpng2 & libpng3 both installed on my system.

Subsequently, I had problems with applications (mysql GUI was one) which compiled with libpng2 and reported that they were running with libpng3. Consequently, none of the menubar buttons rendered.

So, I removed libpng2 and said "Yes" when rpmdrake advised it would remove a raft of packages (KDE, xcdroast, a lot of favorite games, etc.)

Then I rpm -i'd the KDE3 RPMs. Now, I get a lot of packages that won't install because they want libpng2-devel. If I try and put libpng2-devel onto the system, I get warnings of conflicts with libpng3-devel, so I quit without installing libpng2-devel.

This feels so much like a chicken-and-egg problem. How do I get around it? I'd like to install koffice and mysql GUI, but I (apparently) can't have libpng2 and libpng3 running on my system at the same time. Help!

(Can I just put some symbolic links where libpng2's files would go, pointing to the libpng3 files, and call it a day? Or does rpm look for a database entry for an "installed package list" when evaluating dependencies?...)


Last edited by lhoff; 05-19-2002 at 02:54 PM.
Old 05-19-2002, 03:35 PM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
I think one of the work around this one is just symlink one into another, for instance point to This way you can keep the rpm db intact and have all your png2 dependent GUIs use png3. Try it next time, for now try to install everything with explicit call for not checking dependencies (that's the only thing that repels me about rpm's idea)
Old 05-19-2002, 03:47 PM   #3
Registered: Feb 2002
Location: UK
Distribution: Mandriva
Posts: 179

Rep: Reputation: 30
Good luck!

Hope you have better luck symlinking libpng files than I did!

I tried to install a prog which required but I've got 3 on my system. Symlinking didn't work and I read a thread somewhere that 3 isn't compatible with 2.



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
problems installing libpng-dev on Ubuntu mab_123 Linux - Software 1 04-07-2005 07:47 PM
help installing libpng please dtra Linux - Software 1 11-20-2004 08:04 AM
Problems with libpng not found when using rpmbuild on a .src file superduty455 Linux - Software 5 09-16-2004 04:15 PM
MPlayer install problems with libpng & libpng-devel Trey2501 Linux - Newbie 18 03-06-2004 12:24 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration