[sword-devel] SWORD 1.7.0 final stretch

Troy A. Griffitts scribe at crosswire.org
Thu Jul 11 13:03:07 MST 2013


It seems you're missing an ICU symbol.

Just to confirm, you're building and installing sword, then building the 
bindings, yes?

Could you send me a few things:

pkg-config sword --libs

and also when you build the python bindings, could you send me the build 
output lines for the compile, like (from my system):

running build_ext
building '_Sword' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/sword -I.. -I../.. 
-I/usr/include/python2.7 -c Sword.cxx -o build/temp.linux-x86_64-2.7/Sword.o
g++ -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/Sword.o 
-L/usr/lib64/ -L/usr/lib64 -licuuc -licui18n -lpthread -lm -ldl 
-lclucene-shared -licuio -licudata -lsword -lclucene-core -lcurl -lz 
-lpython2.7 -o build/lib.linux-x86_64-2.7/_Sword.so -Wl,-z,relro

Here's my pkg-config sword --libs, for reference:
[scribe at PUBS-POOL1-00560 python]$ pkg-config sword --libs
-Wl,-z,relro -L/usr/lib64/ -lsword -lz -lcurl -lclucene-core 
-lclucene-shared -licui18n -licuuc -licudata -lpthread -ldl -lm -licuio

On 07/11/2013 09:49 AM, Peter von Kaehne wrote:
>> Gesendet: Dienstag, 09. Juli 2013 um 08:53 Uhr
>> Von: "Troy A. Griffitts" <scribe at crosswire.org>
>> Peter, are you building with auto tools or cmake? I can look more into the autotools system if the problem is here. It        > doesn't seem to use pkgconfig to get libs and flags and I'd like to switch it to that. Just one suspect.
> Troy, your last commit fixed Perl for me. Python still fails:
>>>> import Sword
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
>    File "Sword.py", line 26, in <module>
>      _Sword = swig_import_helper()
>    File "Sword.py", line 18, in swig_import_helper
>      import _Sword
> ImportError: /usr/local/lib/python2.7/dist-packages/_Sword.so: undefined symbol: ublock_getCode_48
> Many thanks!
> Peter
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list