Thanks for the leads--they led me down the right track. All I had to do was manually reload the libraries, like so:
ldconfig -m /usr/local/BerkeleyDB.4.0/lib and it worked! I just added that to rc.local before starting squid, and all is well. Don't know why the problem suddenly cropped up, but as long as I can get around it I don't care! I'll CC this to the list to leave breadcrumbs for anyone else who has the problem in the future. Cindy On Wednesday 31 March 2004 02:09 pm, you wrote: > I don't have an answer for you but I can give you a couple of leads: > > http://lists.freebsd.org/pipermail/freebsd-ports/2003-October/005512. >html > > http://marc.theaimsgroup.com/?l=squidguard&m=97937383600768&w=2 > > Hope that helps! > > Rick > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of c. murdock > > Sent: Wednesday, March 31, 2004 9:46 AM > > To: [EMAIL PROTECTED] > > Subject: Problem with squidGuard on OpenBSD 3.4 > > > > > > Hello, > > > > Is anyone out there successfully using squidGuard on OpenBSD 3.4? > > If so, how? I am trying to use it with BerkeleyDB 4.0.14 and I've > > tried both squid 2.5STABLE5 (from source) and 2.5.STABLE3 (from > > ports) with the same result: everything seems to compile just fine, > > and once I have finished compiling, I add the usual redirect lines > > to squid.conf, start squid, and squidGuard starts normally. > > However, once I add lines to rc.local to start squid on boot, and > > reboot the machine, squidGuard will no longer start, with the > > following errors in /var/squid/logs/cache.log: > > > > 2004/03/30 14:13:16| helperOpenServers: Starting 5 'squidGuard' > > processes (squidGuard): can't load library 'libdb.so' > > (squidGuard): can't load library 'libdb.so' > > (squidGuard): can't load library 'libdb.so' > > (squidGuard): can't load library 'libdb.so' > > 2004/03/30 14:13:16| WARNING: Cannot run > > '/usr/local/bin/squidGuard' process. (squidGuard): can't load > > library 'libdb.so' > > > > After reboot it will no longer start with squid from the command > > line, either. > > > > I've tried it on two different computers with the same result. One > > has squid set up for transparent proxying and the other does not. > > I've also tried using BerkeleyDB4.2.52 but I can't even get it to > > compile. I've been successfully using squidGuard with BerkeleyDB > > 4.0.14 on OpenBSD 3.3 with various versions of squid 2.5STABLE for > > what seems like forever, so I don't think it's any of these > > problems, but something that has changed in OpenBSD. Also, is it > > possible to use the BerkeleyDB in ports (currently 3.1)? I can't > > get squidGuard to find it, since the libraries are installed in > > with other libraries rather than under its own directory as > > squidGuard is expecting to find. > > > > Many TIA, > > Cindy > > > > _________________________ > > Cindy Murdock > > Network Administrator > > Meadville Public Library | Crawford County Federated Library System > > meadvillelibrary.org | ccfls.org
