[Tioga-users] Compiling problems for 64-bit linux architecture

Axel Etzold AEtzold at gmx.de
Sat Dec 1 10:47:14 EST 2007


Dear all,

when installing tioga

http://www.kitp.ucsb.edu/~paxton/tioga.html,

I get a cannot read symbol, bad value error  (see below).
I tried the gem and QUICK_INSTALL and HOME_INSTALL
variants.
Has somebody else had this problem ? How did they solve it -
change compilation flags for -fPIC ?

Best regards,

Axel

-------------------------------------

dhcppc0:/home/axel # gem install tioga
Need to update 15 gems from http://gems.rubyforge.org
...............
complete
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
    ERROR: Failed to build gem native extension.

ruby extconf.rb install tioga
checking for zlib.h... yes
checking for compress() in -lz... yes
creating Makefile

make
gcc -I. -I. -I/usr/local/lib/ruby/1.8/x86_64-linux -I. -DHAVE_ZLIB_H  -fPIC -g -O2  -c flate.c
gcc -shared -o Flate.so flate.o -L'.' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L.  -rdynamic -Wl,-export-dynamic    -lz  -ldl -lcrypt -lm   -lc
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [Flate.so] Error 1

Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/tioga-1.6 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/tioga-1.6/split/Flate/gem_make.out 
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger


More information about the Tioga-users mailing list