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>
next in thread | previous in thread | raw e-mail | index | archive | help
--J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jonathan Douglas schrieb am Thu, Apr 24, 2003 at 07:37:17pm -0400: > Can't compile ntop >=20 > cjhost# cd /usr/ports/net/ntop > cjhost# ls > Makefile distinfo files pkg-descr pkg-messa= ge pkg-plist work > cjhost# make && make install > =3D=3D=3D> 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=3Dlink cc -g -O -pipe -o ntop main.o admin.o= libntopreport.la libntop.la -lc_r -lcrypt -lm -lwrap -lz -L/usr/local/li= b -lgdc -lgd -lpng -lz -lssl -lcrypto > cc -g -O -pipe -o .libs/ntop main.o admin.o .libs/libntopreport.so -lcryp= t -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.s= o -lpcap -lgdbm -lc_r -lcrypt -lm -lwrap -lz -lgdc -lgd -lpng -lz -lssl -lc= rypto -lc_r -lcrypt -lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz -l= ssl -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 =3D=3D=3D> ntop-2.0.99.r2_2 depends on shared library: gdbm.3 - found =3D=3D=3D> ntop-2.0.99.r2_2 depends on file: /usr/local/lib/libgdc.a - no= t found =3D=3D=3D> Verifying install for /usr/local/lib/libgdc.a in /usr/ports/g= raphics/gdchart [...] So, either updating your ports collection, or installing that lib manually should solve your problem. HTH, Simon --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+qH3VCkn+/eutqCoRAtboAKCHX5nZoKViqQGGZdRTkZD9gCfxAwCeKCNy N/clEFpnWBayvhDswK8UtHA= =NDpi -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030425001413.GA487>