[sword-devel] SWORD 1.7.0 final stretch

Peter von Kaehne refdoc at gmx.net
Sun Jun 23 02:01:42 MST 2013

On Wed, 2013-06-19 at 10:45 +0200, Troy A. Griffitts wrote:

> Peter, still binding troubles? Can you give me your exact commands
> executed and I'll try them here.

Yes. Building works, using the Perl bindings though fails invariably.

cd ~/Source/sword
make clean
make distclean
svn up
sudo make install
cd bindings/swig/package
libtoolize --force
make perlswig
make perl_make
cd perl
sudo make install
cd ~Source/sword-tools/modules/crossreferences

the result of the last command or indeed any other command relying on
the perl bindings is 

Can't load '/usr/local/lib/perl/5.14.2/auto/Sword/Sword.so' for module
Sword: /usr/local/lib/perl/5.14.2/auto/Sword/Sword.so: undefined symbol:
__cxa_pure_virtual at /usr/lib/perl/5.14/DynaLoader.pm line 184.
 at /usr/local/lib/perl/5.14.2/Sword.pm line 11
Compilation failed in require at ./xreffix.pl line 41.
BEGIN failed--compilation aborted at ./xreffix.pl line 41.

The only thing to say is that I have edited my usrinst.sh to set the
prefixes to /usr/local, which is what I have always done to keep my
system clean.

Below is the diff of my usrinst.sh

Index: usrinst.sh
--- usrinst.sh	(revision 2831)
+++ usrinst.sh	(working copy)
@@ -20,13 +20,14 @@
-OPTIONS="--prefix=/usr $OPTIONS"
-if [ -d /usr/lib64 ]
-	OPTIONS="--libdir=/usr/lib64 $OPTIONS"
-	OPTIONS="--libdir=/usr/lib $OPTIONS"
+OPTIONS="--prefix=/usr/local $OPTIONS"
+# if [ -d /usr/lib64 ]
+# then
+#	OPTIONS="--libdir=/usr/lib64 $OPTIONS"
+# else
+# 	OPTIONS="--libdir=/usr/lib $OPTIONS"
+# fi
+OPTIONS="--libdir=/usr/local/lib $OPTIONS"
 OPTIONS="--sysconfdir=/etc $OPTIONS"
 OPTIONS="--without-conf $OPTIONS"
 OPTIONS="--disable-shared $OPTIONS"
peter at peter-ThinkPad-Twist:~/Source/sword$ 

More information about the sword-devel mailing list