devel/p5-subversion: Undefined symbol "svn_ra_init_ra_libs"
Looks like devel/p5-subversion is broken on FreeBSD when installed on a fresh box. Don't know why this does not happen on a few mostly identical boxes but you can test it with perl -MSVN::Ra -e '1' and see if it fails. It looks like this
$ perl -MSVN::Ra -e '1'
/libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/SVN/_Ra/_Ra.so:
Undefined symbol "svn_ra_init_ra_libs"
and i've fixed it with a simple patch which is probably wrong but it works for me.
--- subversion/bindings/swig/perl/native/Makefile.PL.in.orig 2009-11-05 15:23:39 +0100
+++ subversion/bindings/swig/perl/native/Makefile.PL.in 2009-11-05 15:23:24 +0100
@@ -58,7 +58,7 @@
OBJECT => q/$(O_FILES)/,
LIBS => [join(' ', $ENV{'LDFLAGS'}, $apr_ldflags,
(map <_ = abs_path($_); "-L$_"> @ldpaths),
- @ldmodules, '-lsvn_swig_perl-1')],
+ @ldmodules, '-lsvn_swig_perl-1','-lsvn_ra-1')],
test => { TESTS => "$swig_srcdir/perl/native/t/*.t" }
);
Programming, FreeBSD : Read more : comments (0) : 05.11.2009 15:24
Comments
no comments