Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Rep:
Traffic Graphing Software
I'm using the Etinc Bandwidth Manager and it has a tool which graphs intenet traffic across the network card. However I'm not getting it to work - I'm obtaining a internal server error. So I checked through the httpd error log files and this is what i got:
[Thu Dec 11 16:12:33 2003] [error] [client 67.145.0.130] Premature end of script
headers: /var/www/cgi-bin/et/bwcmd
libpng warning: Application was compiled with png.h from libpng-1.0.8
libpng warning: Application is running with png.c from libpng-1.2.0
gd-png: fatal libpng error: Incompatible libpng version in application and library
Can someone illuminate me of what can i do to solve this problem? (PS: I have had a png library in a tar.gz archive which i extracted as indicated by the software...)
It's pretty clear, really ... the executable that
you're using was compiled against an older
version of libpng, and obviously can't co-operate
with the newer runtime library.
The solution would be to recompile it on your
machine, using the newer libpng development
libraries.
Cheers,
Tink
P.S.: Since you have a flock of distros listed,
could you enlighten us as to which distro you're
having the troubles with, and how things were
installed?
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Original Poster
Rep:
Can i do it the other way round? - i.e. install the old version of png libs? I'm testing the application on an old box running Redhat 7.1... (hehe not even listed in my "flock of distros")
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Original Poster
Rep:
well... the problem is that the software was not compiled by me.. it's just an executable!!! however i recall of extracting a tarpng.tgz (came into the software bundle) which contained png libs and gd libs. Again... these were not compiled, but extracted as well... The manual was not very helpful about this section, and I tried to download/install other versions of the libpng but was in vain
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Original Poster
Rep:
by the way, since i looked up several forums and i noted that many many ppl have this problem (but i've seen no solutions), i've basically spent one whole day trying to solve it, and i succeeded
What i did is pretty simple - the above error actually means that the software was compiled 'against' a png library of version 1.0.8 but on my linux I had a later version (1.2.0) which apparently was not backward compatible... So what i did was to install the libpng_1.8.0 package and then create several symbolic links to make linux think that it still has its 1.2.0 version (the libpng 1.2.0 version creates a libpng.so.3 which is missing in the libpng 1.0.8, so i created a symbolic link libpng.so.3 which pointed to libpng.so.2.1.0.8) - and it really worked without any problems. Nothing was affected
Hope this tip would help many other ppl who had my same problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.