Dear Ladies and Gentlemen,

My recent experience of configure failing to find -lgd with contemporary
CVS ntop on FreeBSD systems may be helpful to some.

libgd is packaged in two versions:-

gd1 (eg gd-1.8.4,2)
gd2 (eg gd-2.0.15)

I am pretty sure that FreeBSD distinguishes the libraries by tagging
them with the version number when they are installed. Thus the library
file names are libgd1.so and libgd2.so.

This means that ntops configure, which uses -lgd, to compile the gd
library check will _not_ find the libgd1 library (and thus configure
will fail to advance past the gd checks).

An obvious, and for all I know wrong workaround, is to sym link libgd.so
to libgd1.so and to have ldconfig regenerate the hints fine (ldconfig -r
on FreeBSD).

Yours sincerely.


-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to