Hello,
I'd like to ask what libsvn_swig_* libraries are? Are they intended to
be used _only_ from corresponding swig bindings or are there possible
usage scenarios from other libraries/programs?
I'm trying to build update subversion package for ALT Linux and I'm
working now on subversion-1.3.1.
The problem is that libsvn_swig_* libraries contain undefined symbols
(from lib{python,ruby,perl}), but our packaging policy disallows to have
undefined symbols for libraries that are located in publicly accessible
places.
These undefined symbols do not cause a problem during runtime because
they are called from corresponding interpreter, so all required symbols
are already resolved. BTW, libsvn_swig_perl-1.so.0 uses also one symbol
from /usr/lib/perl5/vendor_perl/i386-linux/auto/SVN/_Core/_Core.so. It
is svn_swig_pl_get_current_pool, which is probably better to move to
library.
From my side I have several solutions:
1. (preffered) Install libsvn_swig_* libraries somewhere into
/usr/lib/libsvn_swig/ and use RPATH for building swig bindings
2. Link libsvn_swig_* with required libraries. However, libsvn_swig_perl
and _Core.so will have cycle dependency.
So, my question is: is it safe to install libsvn_swig_* into other
folder that /usr/lib? (I guess it is true if these libraries will be
used only from swig bindings).
--
Best Regards,
Sviatoslav Sviridov
Received on Mon Mar 20 19:30:22 2006