LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-19-2004, 08:48 AM   #1
narc
Member
 
Registered: Aug 2004
Location: Montréal
Distribution: Linux from scratch
Posts: 68

Rep: Reputation: 15
Libpng version mismatch


Sorry for the cross-post but as I replied to someone who posted to the slackware forum with similar problems, I figured that, since I'm using LFS and it's a basic problem regarding libpng compiling, it needed to be addressed to a different audience, so here it goes.

Enlightenment shows this warning on startup:

libpng warning: Application is running with png.c from libpng-1.0.16
libpng error: Incompatible libpng version in application and library
IMLIB ERROR: Cannot load image: /usr/share/enlightenment/config/pix/mouse_1.png
All fallbacks failed.
libpng warning: Application was compiled with png.h from libpng-1.2.5
libpng warning: Application is running with png.c from libpng-1.0.16
libpng error: Incompatible libpng version in application and library
IMLIB ERROR: Cannot load image: /usr/share/enlightenment/config/pix/key_ctrl.png
All fallbacks failed.

etc.etc. for every png file Enlightenement tries to load, and since it's pretty much all png, the desktop is inefficient.

At first, I had mistakenly compiled the new 1.2.6 version when I should have compiled the 1.0 version. Enlightenment would then just crash X! Then I tried with libpng-1.0.16-config, but now all I get is the message shown earlier.

Then I thought that I had some 1.2 remnant in my system so I cleaned up every occurence of libpng (headers and libraries) from it. I even recompiled imlib and Enlightenment but I still have that same warning.

I would suspect that there is some sort of default setting to enable. This package's Makefile has an entry called LIBPNG12_VERSION_INFO = @LIBPNG12_VERSION_INFO@. This is obviously misleading but libpng cannot compile without replacing some sort of integer there, possibly an env variable. I've tried many of them, 0,1,10, etc., with the same results. I guess they are using the same tree for the two versions but I'm a victim of some mismatch.

I don't believe this is an imlib error. The warning comes from libpng and imlib is just responding to it.

Feel free to repond and thanks for any help.
 
  


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
ClamAV version mismatch Jukas Linux - Software 0 11-08-2005 07:22 PM
dri version mismatch matrixon Linux - Software 0 06-27-2005 12:21 PM
Kernel version Source Version mismatch after recompile chuckleberry Linux - Software 1 06-20-2005 06:37 PM
libpng version mismatch with pvmpov boo-hoo! funkymunky Linux - Software 1 02-21-2004 11:08 AM
kernel version mismatch jimo Linux - Software 3 10-29-2001 01:58 PM

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

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