Installation of tioga

A

Axel Etzold

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
 
R

Ryan Davis

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 ?

wouldn't it make more sense to write on the tioga user's mailing list
or file a bug on their rubyforge project?
 
A

Axel Etzold

-------- Original-Nachricht --------
Datum: Fri, 23 Nov 2007 04:03:58 +0900
Von: Ryan Davis <[email protected]>
An: (e-mail address removed)
Betreff: Re: Installation of tioga
wouldn't it make more sense to write on the tioga user's mailing list
or file a bug on their rubyforge project?

Dear Ryan,
nice to know that there is a special user's mailing list. I missed that.

Best regards,

Axel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top