You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Néstor Boscán <ne...@gmail.com> on 2008/01/11 04:29:01 UTC

mod_dav_svn.so: cannot open shared object file

Hi
 
I'm trying to install Subversion with OracleAS 10.1.3.3 and Apache 2.0.52 on
Red Hat Enterprise Linux 4.. 
 
I installed the following packages:
 
apr-0.9.12-2.x86_64.rpm       
apr-util-0.9.12-1.x86_64.rpm  
subversion-1.4.5-1.rhel4.x86_64.rpm
mod_dav_svn-1.4.5-1.rhel4.x86_64.rpm
 
and configured my httpd.conf

LoadModule dav_svn_module     libexec/mod_dav_svn.so # The library is in
this folder
 
<Location /repos>
  DAV svn
  SVNPath /var/svn/repository
</Location>
 
The /var/svn/repository folder exists and the user has rights to read and
write on this folder.
 
I'm getting
 
Cannot load
/opt/oracle/appserver/10.1.3/Apache/Apache/libexec/mod_dav_svn.so into
server: /opt/oracle/appserver/10.1.3/Apache/Apache/libexec/mod_dav_svn.so:
cannot open shared object file: No such file or directory
 
I checked my PATH variable and it points to /lib64 and /usr/lib64 where the
libraries exists.
 
Any ideas?
 
Regards,
 
Néstor Boscán

Re: mod_dav_svn.so: cannot open shared object file

Posted by Andy Levy <an...@gmail.com>.
On Jan 10, 2008 11:29 PM, Néstor Boscán <ne...@gmail.com> wrote:
>
>
> Hi
>
> I'm trying to install Subversion with OracleAS 10.1.3.3 and Apache 2.0.52 on
> Red Hat Enterprise Linux 4..
>
> I installed the following packages:
>
> apr-0.9.12-2.x86_64.rpm
> apr-util-0.9.12-1.x86_64.rpm
> subversion-1.4.5-1.rhel4.x86_64.rpm
> mod_dav_svn-1.4.5-1.rhel4.x86_64.rpm
>
> and configured my httpd.conf
>
> LoadModule dav_svn_module     libexec/mod_dav_svn.so # The library is in
> this folder
>
> <Location /repos>
>   DAV svn
>   SVNPath /var/svn/repository
> </Location>
>
> The /var/svn/repository folder exists and the user has rights to read and
> write on this folder.
>
> I'm getting
>
> Cannot load
> /opt/oracle/appserver/10.1.3/Apache/Apache/libexec/mod_dav_svn.so into
> server: /opt/oracle/appserver/10.1.3/Apache/Apache/libexec/mod_dav_svn.so:
> cannot open shared object file: No such file or directory
>
> I checked my PATH variable and it points to /lib64 and /usr/lib64 where the
> libraries exists.

Your PATH doesn't matter so much (especially since your user account
probably has a different PATH defined than the ID Apache runs under)
as the existence of the file in the right place. Do you have
mod_dav_svn.so in /opt/oracle/appserver/10.1.3/Apache/Apache/libexec
(which is where you told Apache to look for it)?

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


RE: mod_dav_svn.so: cannot open shared object file

Posted by Néstor Boscán <ne...@gmail.com>.
I run the following commands and the file is there and ldd is telling me
that dependencies are there:
 
more /opt/oracle/appserver/10.1.3/Apache/Apache/libexec/mod_dav_svn.so
 
******** /opt/oracle/appserver/10.1.3/Apache/Apache/libexec/mod_dav_svn.so:
Not
a text file ********
 
ldd /opt/oracle/appserver/10.1.3/Apache/Apache/libexec/mod_dav_svn.so
        libsvn_repos-1.so.0 => /usr/lib64/libsvn_repos-1.so.0
(0x0000002a9569f00
0)
        libsvn_fs-1.so.0 => /usr/lib64/libsvn_fs-1.so.0 (0x0000002a957bf000)
        libsvn_delta-1.so.0 => /usr/lib64/libsvn_delta-1.so.0
(0x0000002a958c500
0)
        libsvn_subr-1.so.0 => /usr/lib64/libsvn_subr-1.so.0
(0x0000002a959d0000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x0000002a95b04000)
        libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a95c17000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95d2d000)
        libaprutil-0.so.0 => /usr/lib64/libaprutil-0.so.0
(0x0000002a95f61000)
        libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x0000002a96079000)
        liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x0000002a961b0000)
        libdb-4.2.so => /opt/oracle/appserver/10.1.3/lib/libdb-4.2.so
(0x0000002
a962be000)
        libexpat.so.0 => /usr/lib64/libexpat.so.0 (0x0000002a9649c000)
        libapr-0.so.0 => /usr/lib64/libapr-0.so.0 (0x0000002a965bf000)
        librt.so.1 => /lib64/tls/librt.so.1 (0x0000002a966e5000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a967ff000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000002a96986000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000002a96aba000)
        libsvn_fs_fs-1.so.0 => /usr/lib64/libsvn_fs_fs-1.so.0
(0x0000002a96bbd00
0)
        libsvn_fs_base-1.so.0 => /usr/lib64/libsvn_fs_base-1.so.0
(0x0000002a96c
da000)
        /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x0000002a96e03000)
        libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x0000002a96f19000)
        libssl.so.4 => /lib64/libssl.so.4 (0x0000002a97030000)
        libcrypto.so.4 => /lib64/libcrypto.so.4 (0x0000002a9716c000)
        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2
(0x0000002a9739d00
0)
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x0000002a974b3000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000002a97625000)
        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x0000002a97727000)
 
Regards,
 
Néstor Boscán

  _____  

De: Jerry Pendergraft [mailto:jerry.pendergraft@parvenu.com] 
Enviado el: Lunes, 14 de Enero de 2008 01:27 a.m.
Para: Néstor Boscán
Asunto: Re: mod_dav_svn.so: cannot open shared object file


You can check such dependencies by running ldd on the .so, but perhaps it is
simply that your .conf file did not load the basic mod_dav module first? 

On 13 Jan, 2008, at 20:43 , Néstor Boscán wrote:


The module is "exactly" where the error message says so the problem does not
look like it's the module but a dependency library. Is there a way to know
which libraries mod_dav_svn depends on?
 
Regards,
 
Néstor Boscán

  _____  

De: Jerry Pendergraft [mailto:jerry.pendergraft@parvenu.com] 
Enviado el: Viernes, 11 de Enero de 2008 12:45 a.m.
Para: Néstor Boscán
Asunto: Re: mod_dav_svn.so: cannot open shared object file


Your PATH variable is not consulted, the configuration expects the module to
be *exactly" where the error message says it is looking: 

On 10 Jan, 2008, at 22:29 , Néstor Boscán wrote:


/opt/oracle/appserver/10.1.3/Apache/Apache/libexec/mod_dav_svn.so




--
Jerry Pendergraft
jerry.pendergraft@parvenu.com





--
Jerry Pendergraft
jerry.pendergraft@parvenu.com