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

Subversion on OpenBSD.

From: Mark G <mark_at_nolab.conman.org>
Date: 2003-03-30 04:24:48 CEST

Hello all,

I am trying to get a Subversion repository server to run on OpenBSD. I
have succeeded using v0.20.1 with a few snags and workarounds.

First, I am installing subversion in its own area, not /usr/local or some
shared part of the system. I am putting Apache, BDB, and SVN in their own
directory (in my case, --prefix=/disk/0/subversion/run).

After compiling, the Subversion binaries could not find apr-util.so. I had
the LD_LIBRARY_PATH variable pointing to /disk/0/subversion/run and a
trace of the loading indicated that Subversion first found the library and
mapped it, but then tried to find it again and then failed.

The way I fixed it was:

 export LD_NO_INTERN_SEARCH=""

This tells the OpenBSD dynamic linker that it should not use the library
paths in the executable. In this case, it loaded the appropriate shared
libraries from $LD_LIBRARY_PATH and ran fine. With that environment
variable I was able to start Apache, make a SVN repos and manipulate it
using DAV!

I'm happy with this solution but I suspect there is still something wrong
with the build system. I have the entire compilation output, scripts to
reproduce it (under a suitable OpenBSD system with libxml installed) and
can run things if people need.

I'm afraid I just don't understand libtool well enough to debug this on my
own. Sigh.

L8r,
Mark G.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 30 04:25:29 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.