[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: Kevin McBride <kmcbr_at_ptd.net>
Date: 2007-09-16 20:10:43 CEST

Here's the beginning of my config log while compiling 1.4.5 on a Fedora
Core 3. Let me know if there's anything else you want to see in the
config.log (I don't think the svn-users lists accepts attatchments).

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by subversion configure 1.4.5, which was
generated by GNU Autoconf 2.59. Invocation command line was

   $ ./configure --prefix=/usr

## --------- ##
## Platform. ##
## --------- ##

hostname = dhcp-187-18
uname -m = i686
uname -r = 2.6.14-1.1644_FC4
uname -s = Linux
uname -v = #1 Sun Nov 27 03:25:11 EST 2005

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/kevin/bin
PATH: /usr/local/lib

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1616: Configuring Subversion 1.4.5
configure:1626: creating config.nice
configure:1694: checking for gcc
configure:1710: found /usr/bin/gcc
configure:1720: result: gcc
configure:1964: checking for C compiler version
configure:1967: gcc --version </dev/null >&5
gcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1970: $? = 0
configure:1972: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --disable-libada
--disable-libssp
Thread model: posix
gcc version 4.1.2
configure:1975: $? = 0
configure:1977: gcc -V </dev/null >&5
gcc: '-V' option must have argument

Robert La Ferla wrote:
>
> 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
> 2.6.22.5-49.fc6) I do not need DAV.
>
> After building (configure, make, make install), I get the following
> error:
>
> % 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:
>
> % 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
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 16 20:01:07 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.