Hi,

Tried building the p5-subversion port on FreeBSD/PowerPC, but when testing
the installed port I get the error:
Can't load
'/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/SVN/_Core/_Core.so' for
module SVN::_Core:
/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/SVN/_Core/_Core.so:
Unsupported relocation type 6 in non-PLT relocations

I tracked it down to the building of libsvn_swig_perl-1.a, and
swig_util_pl.c is compiled without -fPIC, which is required to build shared
libraries on PowerPC.  Manually adding '-fPIC' to the COMPILE_SWIG_PL line
in the top-level Makefile (line 180) fixed this.  But, in this, I noticed
there is no usage of a SWIG_PL_COMPILE, while there is a SWIG_PY_COMPILE
and SWIG_RB_COMPILE.

- Justin Hibbits

Reply via email to