Well, I suppose I could tell you to install RH :-)
1. Check into whether Debian is being 'clever' and installing both the 1.0.x
and 1.2.x versions of libpng.
If you're getting the conflict, then you have to be seeing BOTH versions.
They're simply incompatible and having BOTH is what leads to the error, per
the discussion in docs/FAQ.
You may have to check ld.so.conf and see if there's some place, part of the
'standard' locations ld looks at that has the wrong version and adjust your
input to ./configure so ntop sees the same version that ld will resolve to.
1. Do the locates to find ALL the versions.
locate libpng
locate png.h
2. Look in config.log and see the actual failure message for the png
tests...
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Helmut Schneider
Sent: Thursday, October 23, 2003 2:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [Ntop] libpng warning: Application was compiled with png.h
from libpng-1.0.12
Burton M. Strauss III wrote:
>> http://lists.ntop.org/pipermail/ntop/2002-April/001722.html
> Yeah, that's the "long sob story" from which the docs/FAQ entry was
> written.
http://snapshot.ntop.org/faq.php#97
But writen for RH. I use Debian :)
And I even removed any png.h and compiled libpng-1.2.5 and gd-1.8.4. But the
only effect is:
ntop:~/ntop#
./configure --with-libpng-lib=/usr/lib/ --with-libpng-include=/usr/local/inc
lude/
[blabla]
checking for png.h... yes
checking for main in -lpng... no
[blabla]
ntop:~/ntop# ls -la /usr/lib/libpng.so
lrwxrwxrwx 1 root root 32 Oct 23 21:16
/usr/lib/libpng.so -> /usr/local/lib/libpng.so.3.1.2.5
http://packages.debian.org/stable/devel/libpng-dev.html
ntop:~/ntop# apt-get install libpng-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, libpng-dev is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ntop:~/ntop#
Did I miss anything?
Helmut
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop