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

Re: problem building with Berkeley DB 4.1.24

From: Justin Erenkrantz <jerenkrantz_at_apache.org>
Date: 2002-11-07 23:34:39 CET

On Thu, Nov 07, 2002 at 03:57:17PM -0600, Karl Fogel wrote:
> Justin Erenkrantz <jerenkrantz@apache.org> writes:
> > > I'm seeing a problem in apr-util/ when I try to build a shared
> > > Subversion (including mod_dav_svn) using Berkeley DB 4.1.24. (I've
> > > had no trouble building with 4.0.14 before now.)
> >
> > Hmm, where do you have libdb.a (or libdb.so.*) on your system?
> > Are there additional ones in /usr/lib or /usr/local/lib besides
> > the ones in /usr/local/Berkeley*/lib? -- justin
>
> Heh, I do have
>
> /usr/lib/libdb.so.2 -> libdb1.so.2
> /usr/lib/libdb.so.3 -> libdb2.so.3

I wonder if these are confusing the linker.

apr-util is requesting -ldb, and perhaps the GNU linker is ignoring
the -L/usr/local/Berkeley*/lib directive and linking against
/usr/lib/libdb.so.2?

Hmm. But, your problem seems more like a compile error not a
link error. How about /usr/include and /usr/local/include with
db.h? Perhaps the compiler is pulling in those dirs before the
/usr/local/Berkeley*/include dir? -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 7 23:35:37 2002

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.