You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Morales, Pedro" <Pe...@FMR.COM> on 2010/05/27 20:19:50 UTC
svn aix subversion-1.5.4 issue
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@fmr.com
Re: svn aix subversion-1.5.4 issue
Posted by Peter Samuelson <pe...@p12n.org>.
[Morales, Pedro]
> 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.
This is a Subversion usage question, not a Subversion development
question, so it belongs on users@subversion.apache.org.
But it's really a building stuff on AIX question. AIX 4.1 had a
decidedly weird way of handling shared libraries and finding them at
runtime, and AIX 4.3 had the same but they added a more ELF-like mode
you could use instead if you wanted. Where AIX 5.1 went from there I
do not know.
But in any case, you need to build Subversion so that it knows where to
find the libraries it will need, such as libsvn_client-1. How to do
this depends on whether you're using xlc or gcc, the system linker or
GNU binutils, and probably depends on your version of AIX.
--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Re: svn aix subversion-1.5.4 issue
Posted by Martin Furter <mf...@apache.org>.
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@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@fmr.com
>
>