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 05-19-2002, 01:46 PM   #1
lhoff
Member
 
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?...)

Thanks!

Last edited by lhoff; 05-19-2002 at 01:54 PM.
 
Old 05-19-2002, 02:35 PM   #2
neo77777
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 libng2.so to libpng3.so. 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, 02:47 PM   #3
Dutch3
Member
 
Registered: Feb 2002
Location: UK
Distribution: Mandriva
Posts: 179

Rep: Reputation: 31
Good luck!

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

I tried to install a prog which required libpng.so.2 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.

Dutch
 
  


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

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

All times are GMT -5. The time now is 09:22 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
Open Source Consulting | Domain Registration