Date: Fri, 25 Apr 2003 02:14:13 +0200 From: Simon Barner <barner@in.tum.de> To: Jonathan Douglas <jdouglas@cjhost.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ntop Message-ID: <20030425001413.GA487@zi025.glhnet.mhn.de> In-Reply-To: <001801c30aba$712fd1e0$1e00000a@officeprimary> References: <001801c30aba$712fd1e0$1e00000a@officeprimary>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Jonathan Douglas schrieb am Thu, Apr 24, 2003 at 07:37:17pm -0400: > Can't compile ntop > > cjhost# cd /usr/ports/net/ntop > cjhost# ls > Makefile distinfo files pkg-descr pkg-message pkg-plist work > cjhost# make && make install > ===> Building for ntop-2.0.99.r2_2 > gmake all-recursive > gmake[1]: Entering directory `/usr/ports/net/ntop/work/RC2/ntop' > Making all in . > gmake[2]: Entering directory `/usr/ports/net/ntop/work/RC2/ntop' > /bin/sh ./libtool --mode=link cc -g -O -pipe -o ntop main.o admin.o libntopreport.la libntop.la -lc_r -lcrypt -lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz -lssl -lcrypto > cc -g -O -pipe -o .libs/ntop main.o admin.o .libs/libntopreport.so -lcrypt -lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz -lssl -lcrypto -lc_r -lcrypt -lm -lwrap -lz -lgdc -lgd -lpng -lz -lssl -lcrypto .libs/libntop.so -lpcap -lgdbm -lc_r -lcrypt -lm -lwrap -lz -lgdc -lgd -lpng -lz -lssl -lcrypto -lc_r -lcrypt -lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib > /usr/libexec/elf/ld: cannot find -lgdc > gmake[2]: *** [ntop] Error 1 > gmake[2]: Leaving directory `/usr/ports/net/ntop/work/RC2/ntop' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/net/ntop/work/RC2/ntop' > gmake: *** [all-recursive-am] Error 2 > *** Error code 2 It seems that it can't find libgdc, which is in ports/graphics/gdchart. In my version of the ports collection, ntop already has a dependency to this lib, i.e. the port should install it automatically: cd /usr/ports/net/ntop make depends ===> ntop-2.0.99.r2_2 depends on shared library: gdbm.3 - found ===> ntop-2.0.99.r2_2 depends on file: /usr/local/lib/libgdc.a - not found ===> Verifying install for /usr/local/lib/libgdc.a in /usr/ports/graphics/gdchart [...] So, either updating your ports collection, or installing that lib manually should solve your problem. HTH, Simon [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+qH3VCkn+/eutqCoRAtboAKCHX5nZoKViqQGGZdRTkZD9gCfxAwCeKCNy N/clEFpnWBayvhDswK8UtHA= =NDpi -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030425001413.GA487>
