From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 19:50:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63DC916A422 for ; Thu, 8 Dec 2005 19:50:14 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C68543D5E for ; Thu, 8 Dec 2005 19:50:03 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so731974nzp for ; Thu, 08 Dec 2005 11:49:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=Xdbnef/u5+RBC0EEpYWYAIEBSnwepatv9Gu0sD8ZqUqH8Z3nkaB4EPUuiWPr6KS89HIyEIhz/zefnFoPVkJtrDic6dWmOUwf8rlwZsql6uKNlnBxx357kz53qYkuVDDlSIwnSOTYp88+Z2kqatQEqqqEb0gmdabNSJufl7MuVOI= Received: by 10.64.241.5 with SMTP id o5mr3088360qbh; Thu, 08 Dec 2005 11:49:52 -0800 (PST) Received: from ringworm.mechee.com ( [71.102.14.129]) by mx.gmail.com with ESMTP id f13sm1318173qba.2005.12.08.11.49.52; Thu, 08 Dec 2005 11:49:52 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Thu, 8 Dec 2005 11:49:43 -0800 User-Agent: KMail/1.8.3 References: <43988BB5.6020606@enc.edu> In-Reply-To: <43988BB5.6020606@enc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512081149.45622.ringworm01@gmail.com> Cc: Jay Desjardins Subject: Re: smartfilter, linux and you X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 19:50:14 -0000 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. > My problem that I am running into now is different then my other > compiling/library problems. I did a pre-compile on the RHES 4 server, > and now I am trying to compile squid on the FreeBSD 6.0 box. I can't > seem to find out what library is missing here. I have done google, did a > make all -dA and that's all I got down below. The other errors I could > tell what was missing, this one has me scratching my head. I have tried > to bypass that file to see what happens, and when I go to install it > gives me the same missing library "/usr/bin/ld: cannot find" -lbsd on a > different file. I thought that was interesting to say the least, so I > know it's used in more then one spot. I have gone to the BSD handbook > also and went thru the Linux compatibility section to make sure I wasn't > missing anything. This is a copy of the error message below. What > direction do you think it would be worthwhile for me to chase? Do you > have any suggestions? > > Thank you for your time > Jay Desjardins > > ranlib libmiscutil.a > source='ntlmauth.c' object='ntlmauth.o' libtool=no > depfile='.deps/ntlmauth.Po' tmpdepfile='.deps/ntlmauth.TPo' > depmode=gcc3 /bin/sh ../cfgaux/depcomp gcc -DHAVE_CONFIG_H -I. -I. > -I../include -I../include -I../include -g -O2 -Wall -DSMARTFILTER > -DUNIX -D_REENTRANT -c `test -f ntlmauth.c || echo './'`ntlmauth.c > rm -f libntlmauth.a > /usr/bin/ar cru libntlmauth.a ntlmauth.o inet_ntoa.o > ranlib libntlmauth.a > Making all in scripts > Making all in src > source='cf_gen.c' object='cf_gen.o' libtool=no > depfile='.deps/cf_gen.Po' tmpdepfile='.deps/cf_gen.TPo' depmode=gcc3 > /bin/sh ../cfgaux/depcomp gcc -DHAVE_CONFIG_H > -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I. > -I../include -I. -I. -I../include -I../include -g -O2 -Wall > -DSMARTFILTER -DUNIX -D_REENTRANT -c `test -f cf_gen.c || echo > './'`cf_gen.c > 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 -Mike