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

Re: Subversion on AIX

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: Tue, 12 Oct 2010 12:03:41 -0600

On Oct 12, 2010, at 11:41 AM, David Weintraub wrote:

> I do have gcc version 4.0.0, but I don't have the APR library. We
> don't plan to use Apache httpd, but just svnserve instead.

APR is needed by Subversion regardless of the network server used.

> I downloaded the Universal AIX tarball (only 1.4, but I'd be happy
> with anything now), and had problems since it was tarred up at the
> root of the directory. I used pax to untar the file, so I could put it
> under something besides /opts. The files are placed under /home/david.
>
> $ LIBPATH=/home/david/subversion/opt/subversion/lib:$LIBPATH

You probably want a colon between the first two paths, although this won't help.

> $ ./svn
> exec(): 0509-036 Cannot load program ./svn because of the following errors:
> 0509-022 Cannot load module
> /home/david/subversion/opt/subversion/lib/libsvn_client-1.so.
> 0509-150 Dependent module /opt/subversion/lib/libsvn_wc-1.so
> could not be loaded.
> 0509-022 Cannot load module /opt/subversion/lib/libsvn_wc-1.so.
> 0509-026 System error: A file or directory in the path name
> does not exist.
> 0509-022 Cannot load module svn.
> 0509-150 Dependent module
> /home/david/subversion/opt/subversion/lib/libsvn_client-1.so could not
> be loaded.
> 0509-022 Cannot load module .
>
> Any ideas at this point?

Yes...the binary was built to be ran from /opt/subversion. Running anywhere else will fail miserably. Thank the AIX compiler/linker. There isn't much you can do without trying to use another binary or building it yourself.

Take care,

Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Twitter: jcscoobyrs
Website: http://www.thoughtspark.org
Received on 2010-10-12 20:04:25 CEST

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.