Undefined symbols in ra library

Bug #242321 reported by Martin von Gagern
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Undecided
Martin von Gagern
subversion
Fix Committed
Undecided
Unassigned
subversion (Gentoo Linux)
Fix Released
Low

Bug Description

With svn 1.5.0 configured with --enable-runtime-module-search I get problems loading the bzr-svn plugin (from r1241 of the svn-1.5 branches).
Easy workaround in bzr-svn seems to be to link the "ra" extension against the "svn_delta-1" library. I'll attach a branch for this.
This might in fact be a problem in subversion. In that case it should probably be addressed there as well.

$ bzr version --short
Unable to load plugin 'svn' from '/home/mvg/.bazaar/plugins'
1.5

$ python
>>> import ra
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib/libsvn_ra-1.so.0: undefined symbol: svn_compat_wrap_file_rev_handler

$ ldd -r ra.so
 linux-gate.so.1 => (0xffffe000)
 libsvn_ra-1.so.0 => /usr/lib/libsvn_ra-1.so.0 (0xb7ff8000)
 libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7ee1000)
 libpthread.so.0 => /lib/libpthread.so.0 (0xb7ec9000)
 libc.so.6 => /lib/libc.so.6 (0xb7d92000)
 libsvn_subr-1.so.0 => /usr/lib/libsvn_subr-1.so.0 (0xb7d5b000)
 libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb7d3d000)
 libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb7d18000)
 libdl.so.2 => /lib/libdl.so.2 (0xb7d14000)
 libutil.so.1 => /lib/libutil.so.1 (0xb7d10000)
 libm.so.6 => /lib/libm.so.6 (0xb7ceb000)
 /lib/ld-linux.so.2 (0x4f12d000)
 libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7ccb000)
 libz.so.1 => /lib/libz.so.1 (0xb7cb9000)
 libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb7cb2000)
 libdb-4.6.so => /usr/lib/libdb-4.6.so (0xb7b8d000)
 libuuid.so.1 => /lib/libuuid.so.1 (0xb7b88000)
 librt.so.1 => /lib/librt.so.1 (0xb7b7e000)
 libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7b4c000)
undefined symbol: svn_compat_wrap_file_rev_handler (/usr/lib/libsvn_ra-1.so.0)
undefined symbol: svn_txdelta_send_txstream (/usr/lib/libsvn_ra-1.so.0)
undefined symbol: svn_txdelta (/usr/lib/libsvn_ra-1.so.0)
undefined symbol: svn_txdelta_send_stream (./ra.so)

Related branches

Revision history for this message
Martin von Gagern (gagern) wrote :

According to stsp (Stefan Sperling) on #svn, this is a problem in subversion: http://colabti.org/irclogger/irclogger_log/svn?date=2008-06-23#l767

Fixed for trunk in r31852 of subversion repository: http://svn.collab.net/viewvc/svn?view=rev&revision=31852
Nominated for subversion 1.5.1 as well: http://svn.collab.net/viewvc/svn?view=rev&revision=31853

Changed in subversion:
status: New → Fix Committed
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

merged, thanks

Changed in bzr-svn:
assignee: nobody → gagern
milestone: none → 0.4.11
status: New → Triaged
status: Triaged → Fix Released
Changed in subversion:
status: Unknown → Confirmed
Changed in subversion:
status: Confirmed → Fix Released
Changed in subversion (Gentoo Linux):
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.