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

Re: python/svn issues....

From: David M. Cooke <cookedm_at_physics.mcmaster.ca>
Date: 2005-04-12 23:54:51 CEST

"bruce" <bedouglas@earthlink.net> writes:

> david...
>
> can you tell me what you get when you do
> ldd /usr/lib/libsvn_fs_base-1.so.0
>
> i get ....
> ----------------------------
> [root@lserver2 /]# ldd /usr/lib/libsvn_fs_base-1.so.0
> libsvn_delta-1.so.0 => /usr/lib/libsvn_delta-1.so.0 (0x00e9c000)
> libsvn_subr-1.so.0 => /usr/lib/libsvn_subr-1.so.0 (0x00cdc000)
> libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x00b18000)
> libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x007aa000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00a0f000)
> libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
> librt.so.1 => /lib/tls/librt.so.1 (0x00c21000)
> libm.so.6 => /lib/tls/libm.so.6 (0x0022d000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x00250000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x0027d000)
> libdl.so.2 => /lib/libdl.so.2 (0x0093e000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00803000)

Same thing as in my original message :-)

You *don't* have libdb-4.2.so there (which I do, along with ldap,
expat, gnutls, and some others), which is why I think your subversion
build is bad. Basically, the svn libraries are not being linked
against their dependencies. What you'll likely find is that the client
(svn) links against those other libraries, and so it runs fine. But
since the subservient libraries (libsvn_*) don't pull in their
dependencies, when you try to load those into Python dynamically, they
fail.

As a temporary workaround hack, you could maybe use the dl module
to open() the dependencies you need first, and in that way bind them to
the Python runtime (I'm not sure if this will work at all, though).

Otherwise, I'd rebuild subversion. I checked a version I had built
from source on another machine (running Mandrake), and the svn
libraries link to the right libraries, so I know getting the right
behaviour is not just a Debian thing. The packager of your RPMs
probably screwed up :-)

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm@physics.mcmaster.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 13 02:30:31 2005

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.