You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by sm...@speakeasy.net on 2003/12/30 08:10:42 UTC

RedHat 9 and NPTL support

Hi all,

After some searching I found the following explanation in the subversion 
FAQ for the problems I've been having with svn 0.35.1. I had 0.32.1 
installed previously, and I had not noticed any problems with that. Only 
after installing 0.35.1 did I start getting this error.

-------------------
I'm getting "Function not implemented" errors on RedHat 9, and nothing 
works. How do I fix this?

This is not really a problem with Subversion, but it often affects 
Subversion users.

RedHat 9 ships with a Berkeley DB library that relies on the kernel 
support for NPTL (the Native Posix Threads Library).

The kernels that RedHat provides have this support built in, but if you 
compile your own kernel, then you may well not have the NPTL support. If 
that is the case, then you will see errors like this:

svn: Berkeley DB error
svn: Berkeley DB error while creating environment for filesystem tester/db:
Function not implemented

This can be fixed in one of several ways:

     * Rebuild db4 for the kernel you're using.
     * Use a RedHat 9 kernel.
     * Apply the NPTL patches to the kernel you're using.
     * Use a recent (2.5.x) kernel with the NPTL support included.
     * Check if environment variable LD_ASSUME_KERNEL is set to 2.2.5, 
and if so, unset it before starting Subversion (Apache). (You usually 
would set this variable to run Wine or Winex on RedHat 9)
------------------

I'm presently using a redhat kernel, kernel-smp-2.4.20-27.9 (i686). How 
would I verify that this kernel has NPTL support? Shouldn't I have had 
this problem with snv 0.32.1 as well? Would anyone here have any other 
suggestions?

Thanks!

Sunil


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org