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

Re: svn: error while loading shared libraries

From: Robert La Ferla <robertlaferla_at_comcast.net>
Date: 2007-09-16 14:42:49 CEST

On Aug 2, 2007, at 11:35 PM, Ryan Schmidt wrote:
> Have you done the selinux setup steps?
> http://subversion.tigris.org/faq.html#reposperms
> chcon, etc.

I don't have a repository and unless I am looking at the wrong
section in the FAQ, it is only referring to the permissions on your
local repository. I am using svn to access a remote repository. In
fact, I am just testing my fresh installation of svn by typing "svn"
and it fails with that error message.

Here is more info:

I cannot get svn 1.4.5 to work on Fedora Core 6 (kernel I do not need DAV.

After building (configure, make, make install), I get the following

% svn
svn: error while loading shared libraries: /usr/local/lib/
libsvn_ra_dav-1.so.0: cannot restore segment prot after reloc:
Permission denied

During configure, I get this:

WARNING: skipping the build of mod_dav_svn
          --with-apxs or --with-apache must be used

I added /usr/local/lib to my ld.so.conf.d/usr_local.conf and re-ran

% ldconfig -v | grep svn
         libsvn_ra_local-1.so.0 -> libsvn_ra_local-1.so.0.0.0
         libsvn_fs-1.so.0 -> libsvn_fs-1.so.0.0.0
         libsvn_ra-1.so.0 -> libsvn_ra-1.so.0.0.0
         libsvn_wc-1.so.0 -> libsvn_wc-1.so.0.0.0
         libsvn_fs_fs-1.so.0 -> libsvn_fs_fs-1.so.0.0.0
         libsvn_delta-1.so.0 -> libsvn_delta-1.so.0.0.0
         libsvn_repos-1.so.0 -> libsvn_repos-1.so.0.0.0
         libsvn_ra_svn-1.so.0 -> libsvn_ra_svn-1.so.0.0.0
         libsvn_ra_dav-1.so.0 -> libsvn_ra_dav-1.so.0.0.0
         libsvn_diff-1.so.0 -> libsvn_diff-1.so.0.0.0
         libsvn_client-1.so.0 -> libsvn_client-1.so.0.0.0
         libsvn_subr-1.so.0 -> libsvn_subr-1.so.0.0.0

Someone replied to a previous post I made about this and said that it
had to do with SELInux and pointed me to the SVN FAQ. The problem is
that in the SVN FAQ, they only talk about the SELinux permissions on
the repository.

So, why does svn not work?

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 16 14:39:19 2007

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.