READ it ... It means EXACTLY what it is saying - it can't find other
(required) libraries...

 warning: libXpm.so.4, needed by /usr/lib//libgd.so, not found
 warning: libX11.so.6, needed by /usr/lib//libgd.so, not found

There are some dependencies you forgot to install.

-----Burton


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
carlo a
Sent: Monday, January 24, 2005 9:13 AM
To: [email protected]
Subject: Re: [Ntop] checking for gdImageDestroy in -lgd... no

> Sounds right - look in config.log to see the actual messages from the 
> detection of gdImageDestroy().
>
> -----Burton

configure:10768: checking for gdImageDestroy in -lgd
configure:10798: gcc -o conftest -g -O2 -I/usr/local/include -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fPIC  -DLINUX -I/
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-
linux/bin/ld: warning: libXpm.so.4, needed by /usr/lib//libgd.so, not found
(try using -rpath o
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-
linux/bin/ld: warning: libX11.so.6, needed by /usr/lib//libgd.so, not found
(try using -rpath o
/usr/lib//libgd.so: undefined reference to `XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure:10804: $? = 1

I can't understand...

carlo

>> [EMAIL PROTECTED]:~# locate libgd
>> /usr/lib/libgdbm.so.2.0.0
>> /usr/lib/libgdbm.so.3.0.0
>> /usr/lib/libgdbm.so.2
>> /usr/lib/libgdbm.so.3
>> /usr/lib/libgd.a
>> /usr/lib/libgdbm.a
>> /usr/lib/libgdbm.la
>> /usr/lib/libgdbm.so
>> /usr/lib/libgd.so.2.0.0
>> /usr/lib/libgd.la
>> /usr/lib/libgd.so.2
>> /usr/lib/libgd.so
>>
>> I try ./configure --with-gd-root=/usr/lib/ but I get the same error 
>> :(
>>
>> carlo
>>
>>> Tell ntop where to find libgd.  ./configure --help will show you the 
>>> parameters you use for this.
>>>
>>> -----Burton
>>>
>>>
>>>> I've slackware 10.0. I've installed gd-2.0.28-i486-2pcx.tgz from 
>>>> linuxpackages.net. Then, running configure, I get this error:
>>>>
>>>> *******************************************************************
>>>> *
>>>> * ERROR: gd header or library routines are missing
>>>> *           (yes means it was found, no means it was not found)
>>>> *
>>>> *              gd.h...yes
>>>> *              gdImageDestroy() in -lgd...no
>>>> *
>>>> *>>> No way to proceed.
>>>> *
>>>> *???        Install gd (and/or gd-devel), check www.boutell.com/gd
>>>> *???    and Rerun ./configure
>>>> *
>>>> *******************************************************************
>>>>
>>>> Have you any suggest to solve this problem?
>>>>
>>>> Thanks
>>>>
>>>> Carlo C.

_______________________________________________
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