Date: Thu, 8 Dec 2005 13:57:12 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: "Michael C. Shultz" <ringworm01@gmail.com> Cc: Jay Desjardins <jay.p.desjardins@enc.edu>, freebsd-questions@freebsd.org Subject: Re: smartfilter, linux and you Message-ID: <20051208195712.GA95420@dan.emsphone.com> In-Reply-To: <200512081149.45622.ringworm01@gmail.com> References: <43988BB5.6020606@enc.edu> <200512081149.45622.ringworm01@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 08), Michael C. Shultz said: > On Thursday 08 December 2005 11:38, Jay Desjardins wrote: > > We are attempting to get Smartfilter (content filter that plugs > > into squid) to work on FreeBSD 6.0. A while ago, Smartfilter use to > > come as a port for FreeBSD, but after a while they no longer > > support BSD, only Linux and Solaris. I decided that now it's time > > to upgrade to a new version (of Smartfilter and the OS) yet again, > > I would like to replace the Red Had ES 3 server with a BSD box, not > > a newer RedHat box. Smartfilter's content plugin is designed for > > RHES 4, and I am trying to get it to work on 6.0 so I have run into > > a few problems, most which have been overcome, but this one > > persists. > > > > gcc -g -O2 -Wall -DSMARTFILTER -DUNIX -D_REENTRANT -g -o cf_gen cf_gen.o -L../lib -lmiscutil -lm -lbsd -lnsl > > /usr/bin/ld: cannot find -lbsd > > *** Error code 1 > > > > Stop in /downloads/stuff/squid-2.5.STABLE10/src. > > *** Error code 1 > > > > Stop in /downloads/stuff/squid-2.5.STABLE10. > > find /usr/ports/*/. | grep pkg-plist | xargs grep libbsd > > /usr/ports/devel/./agenda-static-libs/pkg-plist:mipsel-linux/lib/libbsd-compat.a > /usr/ports/devel/./linux_devtools/pkg-plist:usr/lib/libbsd-compat.a > /usr/ports/devel/./linux_devtools/pkg-plist:usr/lib/libbsd.a > > Try installing devel/linux_devtools When I'm faced with a program trying to link some unknown missing library, the first thing I do is remove it and see if there really are any unresolved symbols. On all the Linux boxes here, libbsd.a contains a single symbol named "__dummy__". I'm betting you can just remove -lbsd with no ill effects. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051208195712.GA95420>