List Info

Thread: pysvn on suse




pysvn on suse
user name
2006-11-01 10:17:57
Thanks for your help, but I'm not quite there yet.

ldd /usr/lib/python2.4/site-packages/pysvn/_pysvn.so returns:
libsvn_ra_local-1.so.0 => /usr/local/lib/libsvn_ra_local-1.so.0 (0x40693000)

nm /usr/local/lib/libsvn_ra_local-1.so.0 | grep svn_repos_fs_get_locks returns:
U svn_repos_fs_get_locks

Which I guess means undefined? At least nm -U lists svn_repos_fs_get_locks as well
Located the folder where svn 1.4.0 was built and the libsvn_ra_local-1.so.0 file is the same as in /usr/local/lib. I gather
from my sysadmin that the svn build was of the simple tarball, ./configure, make, make install variety.

Atli.

>>>>>>>>>;
I just tracked down where the symbol is defined. On my Fedora Core
system
I have svn 1.4.0 install in /usr/local/svn140.

Use this ldd to find the path to libsvn_ra_local- 1.so.0

$ ldd /usr/lib/python2.4/site-packages/pysvn/_pysvn.so
...
libcrypto.so.5 => /lib/libcrypto.so.5 (0xb7884000)
/lib/ld-linux.so.2 (0x80000000)
libsvn_ra_local-1.so.0 => /usr/local/svn140/lib/
libsvn_ra_local-1.so.0 (0xb787e000)
libsvn_ra_svn-1.so.0 => /usr/local/svn140/lib/
libsvn_ra_svn-1.so.0 (0xb786e000)
...

Is that path correct for the svn that you built against?

Use nm to check the lib has the symbol svn_repos_fs_get_locks:

$ nm <path-of-libsvn_ra_local-1.so.0> | grep svn_repos_fs_get_locks
000098b8 T svn_repos_fs_get_locks

Barry
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )