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

Re: Berkeley DB error while creating environment for filesystem

From: James MacLean <macleajb_at_ednet.ns.ca>
Date: 2004-02-25 20:50:36 CET

On 25 Feb 2004, Lars Albertsson wrote:

> James MacLean <macleajb@ednet.ns.ca> writes:
>
> > On Wed, 25 Feb 2004, Matthew Gregan wrote:
> >
> > > On Tue, Feb 24, 2004 at 11:13:37PM -0400, James MacLean wrote:
> > > > Source compiled tried against distribution DB as well as
> > > > BerkleyDB.4.2 and Berkley.4.1. Distribution tried was RedHat 9.0
> > > > and Fedora Core 1. Kernel is Linux 2.4.2x. Command was :
> > >
> > > > svnadmin create somedatabase
> > > > svn: Berkeley DB error while creating environment for filesystem somedatabase:
> > > > Function not implemented
> > >
> > > http://subversion.tigris.org/project_faq.html#redhat-db
> > >
> > > -mjg
> >
> > Saw that, tried points one an 5, but they did not make a difference :(.
> >
> > But since this was the direction, I did an ldd on my svn and saw it was
> > using the one from the dist, not the one compiled against under
> > /usr/local/BerkleyDB.4.2. LD_LIBRARY_PATH didn't seem to get by it in this
> > case either. So I will look into it from that end now that I know where to
> > look ;).
>
> I had the same problem, and some googling indicated that a mismatch
> between the kernel and libc could have something to do with it. I use
> a redhat kernel compiled for pentium 4, and after installing a glibc
> rpm for i686 instead of i386, the problem went away.
>
> Regards,
> Lalle

My long story shortened :). Had been try BerkleyDB4.2 which is not
accounted for in <svn>/apr-util/configure, only 4.1. 4.1 was not in
/etc/ld.so.conf, so configure used distribution's db-4.0.

My fix was to add BerkleyDB4.1 to ld.so.conf, do an ldconfig, then re-run
svn's configure, make clean all install, and svnadmin now works :).

Thanks to everyone for the quick and accurate information,
JES

-- 
James B. MacLean        macleajb@ednet.ns.ca
Department of Education 
Nova Scotia, Canada
     
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 25 20:50:30 2004

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

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