LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-11-2003, 04:25 PM   #1
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Rep: Reputation: 30
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...)

Thanks..
Ganninu.
 
Old 11-11-2003, 04:54 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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?
 
Old 11-11-2003, 05:41 PM   #3
ganninu
Member
 
Registered: Jul 2003
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: Reputation: 30
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")
 
Old 11-11-2003, 08:12 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You're probably running at risk to break
some other dependencies if you do that.

Check your RPM database on what needs
other packages might have in this respect.

Cheers,
Tink
 
Old 11-12-2003, 04:27 PM   #5
ganninu
Member
 
Registered: Jul 2003
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: Reputation: 30
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
 
Old 11-26-2003, 03:15 AM   #6
ganninu
Member
 
Registered: Jul 2003
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: Reputation: 30
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.
 
  


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
Scientific Graphing Software tjuii Linux - Software 5 04-20-2011 10:45 AM
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 01:09 AM
graphing a network topology? software? gottin Linux - Software 12 03-17-2005 06:37 PM
Network Traffic/ Internet Monitoring Software klownska Linux - Software 3 04-04-2004 08:45 PM
Best Logging software for Traffic through Linux RH 7.3 Box Modem dialup connection sombra_tommy Linux - Software 1 01-05-2004 01:55 PM


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