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

Re: [Fwd: problem with dynamically loaded plugins]

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2007-09-13 18:46:51 CEST

Marc Haisenko <haisenko@comdasys.com> writes:

> So your problem seems to be the dynamic loader... I'm assuming the following
> layout for the explanation:
>
> 1.4.4: /usr/bin/*
> /usr/lib/*
>
> 1.4.2: /opt/svn/bin/*
> /opt/svn/lib/*
>
> Problem is, the dynamic link loader will search only he knows about for the
> SubVersion libraries: and that's /usr/lib in this case. So it will load the
> one from that directory. See /etc/ld.so.conf.
>
> The workaround is to replace the binaries in /opt/svn/bin/* with wrapper
> scripts like this:

The real fix is for Subversion not to rely on the linker's search
path and instead specify the path directly to the plugin, the way
httpd does it. We'd also be able to get DSO working on Mac if we
did that.

-- 
Eric Gillespie <*> epg@pretzelnet.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 13 18:43:19 2007

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