DO NOT run make install where you added it... It says "on some systems you
may" - that should be a hint NOT to unless you have a specific problem.

What you did was to install the .so (shared) and/or .a files, causing gnu's
ld to try and resolve them from ld.so.conf locations, vs. the .as in the
tree.

-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
/dev/null
Sent: Tuesday, January 14, 2003 12:41 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] cannot find -lgd


I've searched the list (and found one hit that didn't clear up the
problem).  I've read the FAQ.

I'm posting this to help the next guy and also to see if this is
"normal" for me to have to do this.

ntop 2.1.3

I'm following the BUILD-NTOP.txt to the "t", and adding "make install"
as appropriate as follows:

# cd gdchart0.94c/
# ./configure
# cd gd-1.8.3/libpng-1.2.1
# cp scripts/makefile.linux Makefile
# make
# make install
# cd ../../zlib-1.1.4/
# ./configure
# make
# make install
# cd ..
# make
# make install



no problems noted....

Then I go to step 3:

# cd ntop
# ./configure
# make

and get the infamous:

# /usr/bin/ld: cannot find -lgd

After an hour or so of trying everything in the book several times
(including opening the windows and turning the lights on and off) I
finally copy the libgd*.a files to my /usr/lib dir and this time the
make cmd in ntop works!!!!

Should I have to copy the .a files to my lib dir?  What gives there?

Thanks!

_______________________________________________
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