forwarded 307722 ntop-dev@unipi.it thanks Hello
On Thu, May 05, 2005 at 01:49:16AM +0200, Marek Michalkiewicz wrote: > Package: ntop > Version: 2:3.0-5 > Severity: minor > > The following message is logged at ntop startup if libgd2-xpm-dev > (development library) is not installed: > > **WARNING** GDVERCHK: Unable to load gd, message is 'libgd.so: cannot open > shared object file: No such file or directory' > > /usr/lib/libgd.so.2 is part of libgd2-xpm > /usr/lib/libgd.so (symlink to libgd.so.2) is part of libgd2-xpm-dev The interesting thing is that if you run ldd on /usr/sbin/ntop you will notice that it have the following line in it: libgd.so.2 => /usr/lib/libgd.so.2 (0xb7b34000) No reference to that file. > libgd2-xpm-dev depends on other X development libraries, which are > quite big and not really necessary for just running ntop. > > ntop already Depends: libgd2-noxpm (>= 2.0.33) | libgd2-xpm (>= 2.0.33) > so additional run time checks for libgd (and warnings when development > libraries are not installed) should not be necessary. Do I do not really understand this. Or is it ntop itself that do this check maybe. I have arways thought that it was ld ... I'll check that out now. Aha! Here we have something. globals-defines.h:#define CONST_LIBGD_SO "libgd.so" Maybe that can be changed to libgd.so.2 ... I'll cc the ntop development list for advice on this matter. Regards, // Ola > Thanks, > Marek > > -- System Information: > Debian Release: 3.1 > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > Kernel: Linux 2.4.26 > Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2) > > Versions of packages ntop depends on: > ii debconf 1.4.30.13 Debian configuration management > sy > ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries > an > ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared > lib > ii libgd2-xpm 2.0.33-1.1 GD Graphics Library version 2 > ii libgdbm3 1.8.3-2 GNU dbm database routines > (runtime > ii libjpeg62 6b-9 The Independent JPEG Group's > JPEG > ii libpcap0.7 0.7.2-7 System interface for user-level > pa > ii libpng12-0 1.2.8rel-1 PNG library - runtime > ii libssl0.9.7 0.9.7e-3 SSL shared libraries > ii zlib1g 1:1.2.2-4 compression library - runtime > > -- debconf information: > * ntop/interfaces: eth0 > * ntop/user: ntop > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]