ntop should resolve to the 2.0.1 (libgd.so) version and should ignore 1.8.4,
but with both 1.8.4 and 2.0.1 libraries installed, you're asking for
trouble.

On my system...

$ locate libgd
...
/usr/lib/libgd.so.1.8.4
/usr/lib/libgd.a
/usr/lib/libgd.so
...

$ nm /usr/lib/libgd.so | grep gdImageCreateFromGd
000069da T gdImageCreateFromGd
00006fc2 T gdImageCreateFromGd2
00007008 T gdImageCreateFromGd2Ctx
00007296 T gdImageCreateFromGd2Part
000072f8 T gdImageCreateFromGd2PartCtx
00006a20 T gdImageCreateFromGdCtx

11:08:48 tigger [Linux] user=bstrauss pwd=/shared/work/linux/ntop $ rpm -q
gd
gd-1.8.4-9

The call to this is in myrrd - so

1) Check the Makefile in the myrrd directory and make sure it too is
including -lgd from /usr/lib at compile time.
2) myrrd is a clone of rrdtool 1.0.42, so you might check the rrdtool site
also.


-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Helmut Schneider
Sent: Wednesday, October 29, 2003 3:38 AM
To: [EMAIL PROTECTED]
Subject: Re: [Ntop] Longterm data storing, memory usage (Yes, I read the
FAQ)


Burton Strauss wrote:

> Sounds like there's a difference between the compile time and run
> time resolutions.  If you tell ntop to look somewhere at compile
> time, and then the same locations aren't 'available' at run time, you
> will see that message.
>
> If you're using --with-gd-root= or --with-gd-lib=, then make sure
> that location is part of the ld.so.conf file too.  (The specific file
> is OS dependent - man ld will usually find a pointer).

I just ./configure'd without options.

ntop:~# tail /etc/ld.so.conf
/usr/X11R6/lib
/usr/lib/atlas
/usr/local/lib
/usr/lib

ntop:~# tail /etc/ld.so.conf
Oct 28 17:57 /usr/lib/libgd.a -> /usr/local/lib/libgd.a
Oct 23 11:07 /usr/lib/libgd.so -> libgd.so.2.0.1
Oct 23 19:18 /usr/lib/libgd.so.1 -> libgd.so.1.8.4
Sep 21  2002 /usr/lib/libgd.so.1.8.4
Oct 23 10:58 /usr/lib/libgd.so.2 -> libgd.so.2.0.1
Apr 15  2002 /usr/lib/libgd.so.2.0.1

Regards, 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

Reply via email to