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

Re: svn aix subversion-1.5.4 issue

From: Martin Furter <mf_at_apache.org>
Date: Fri, 28 May 2010 13:43:07 +0200

Hello Pedro

It wasn't able to find the library (or AIX seems to call them modules)
libsvn_client-1.so . It probably expects them to be in
/opt/subversion-1.5.4/lib .

The following command shows the libraries svn uses and where it found
them, I guess it shows that it can't find all libsvn_*.so:

$ ldd `which svn`
    libsvn_client-1.so.0 => /usr/local/svn-1.4.5/lib/libsvn_client-1.so.0
    libsvn_wc-1.so.0 => /usr/local/svn-1.4.5/lib/libsvn_wc-1.so.0
    libsvn_ra-1.so.0 => /usr/local/svn-1.4.5/lib/libsvn_ra-1.so.0
  ... a lot more libs

You could try adding /subversion/aix/lib to the library path:

$ LD_LIBRARY_PATH=/subversion/aix/lib svn help

If that works you can add that dir permanently to the library path.

Another way is creating the dir /opt/subversion-1.5.4 and a symlink
/opt/subversion-1.5.4/lib pointing to /subversion/aix/lib .

Or you could compile subversion with --prefix=/subversion/aix .

Since this is a usage question it belongs to the
users_at_subversion.apache.org mailing list, please ask there if you need
more help.

Martin

Morales, Pedro wrote:
> Hi,
>
> Getting the following error after install svn 1.5.4 on aix server:
> Just running "svn help":
> Could not load program svn:
> Dependent module libsvn_client-1.so could not be loaded.
> Could not load module libsvn_client-1.so.
>
> We don't know the cause of the error.
>
> Is the aix 1.5.4 install requires to live at /opt/subversion-1.5.4
> directory?
>
> Since we have installed subversion on different directory. Find below
> the way how we have setup the diff subversion UNIX versions:
>
> We have all UNIX svn instance flavors on filesystem
> ecbclrg12:/subversion like:
> aix install-pkgs linux linux64 lost+found
> solaris10 solaris9
>
> On one of our aix servers we had mounted this filesystem to /subversion
> directory
> Then setup a link to 1.5.4 version under /subversion/aix :
> lrwxrwxrwx 1 69360 78270 16 Mar 16 11:56 subversion ->
> subversion-1.5.4
> drwxr-xr-x 7 69360 78270 1024 Mar 16 11:53
> subversion-1.5.4
>
> We added on this aix server to the beginning of the PATH :
> /subversion/aix/subversion/bin
>
> Thanks
>
>
>
> Pedro Morales
> *817-474-6692
> * pedro.morales_at_fmr.com
>
>
Received on 2010-05-28 20:28:30 CEST

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