You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Marcus Rueckert <da...@web.de> on 2005/03/11 19:36:23 UTC

linker/dl weirdness.

hi,

i did a test install of trunk into /opt/apache today.

all operations work fine unless repository access. not even file is
working. after a small strace session i found out that it has no
problems to load load the svn libraries in general. only for the
libsvn_ra_*.so it didnt even try /opt/apache/lib. adding it to the
LD_LIBRARY_PATH variable solved the problem. but i dont understand why
it finds all libraries except those? are they opened via dlopen()?

System: SuSE linux 9.2
apr+apache are trunk of today.

darix

-- 
irssi - the client of the smart and beautiful people

              http://www.irssi.de/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: linker/dl weirdness.

Posted by Max Bowsher <ma...@ukf.net>.
Marcus Rueckert wrote:
> On 2005-03-11 19:42:55 -0000, Max Bowsher wrote:
>> Depends... did you use --enable-dso ?
> 
> "./configure" \
> "--enable-maintainer-mode" \
> "--with-apxs=/opt/apache2.1/bin/apxs" \
> "--with-apr=/opt/apache2.1" \
> "--with-apr-util=/opt/apache2.1/" \
> "--disable-javahl" \
> "--with-neon=/usr" \
> "--without-berkeley-db" \
> "--enable-dso" \
> "--prefix=/opt/apache2.1" \
> "$@"
> 
> so yes.

Then, yes, libsvn_ra_* and libsvn_fs_* are being loaded via dlopen().

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: linker/dl weirdness.

Posted by Max Bowsher <ma...@ukf.net>.
Marcus Rueckert wrote:
> hi,
> 
> i did a test install of trunk into /opt/apache today.
> 
> all operations work fine unless repository access. not even file is
> working. after a small strace session i found out that it has no
> problems to load load the svn libraries in general. only for the
> libsvn_ra_*.so it didnt even try /opt/apache/lib. adding it to the
> LD_LIBRARY_PATH variable solved the problem. but i dont understand why
> it finds all libraries except those? are they opened via dlopen()?

Depends... did you use --enable-dso ?

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org