[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: DB libs on FreeBSD

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2001-09-08 04:26:28 CEST

On Fri, Sep 07, 2001 at 09:16:12PM -0500, Ben Collins-Sussman wrote:
> Garrett Rooney <rooneg@electricjellyfish.net> writes:
>
> > so i've been spending some more time trying to get subversion building
> > as a port on FreeBSD, and i've hit a snag. the autoconf stuff has
> > some tricks in it to deal with the fact that the freebsd port for
> > berkeley db sticks stuff in /usr/local/include/db3 and /usr/local/lib,
> > rather than someplace sane. the problem is that it tries to link
> > against -ldb, but FreeBSD installs it as libdb3.
>
> This "insane" location was the original db3.2 port
> (/usr/ports/databases/db3) installation location.
>
> I believe that the db3.3 port (/usr/ports/databases/db3-latest) puts
> everything in one of the "normal" locations. I think. Is your port
> depending on this db3-latest port?

i'm using /usr/ports/databases/db3-latest.

it still uses libdb3.*

and according to freebsd's cvsweb, it hasn't been changed since i last
updated ports, so it seems to still be a problem.

actually, now that i've poked around a bit, it seems that the db3 port
installs a libdb.so, but the db3-latest does not. since we use
3.3.11, we'll need to use db3-latest, so we need to link against libdb3.

(or someone could pester a freebsd ports committer into changing the
db3-latest port. i would give it a shot, but all the committers i
know are src guys who tend to stay out of ports. personally though,
it seems more consistent with the rest of the ports tree to have it as
libdb3, since there does exist several other ports of berkeley db that
try to put things in /usr/local/lib, and it wouldn't be good to have
them overwriting each other.)

-garrett

-- 
garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:40 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.