# Installation of tioga

**URL:** <https://www.ruby-forum.com/t/installation-of-tioga/120980>\
**Category:** Ruby\
**Created:** [November 22, 2007, 11:21am UTC](https://www.ruby-forum.com/t/installation-of-tioga/120980 "2007-11-22T11:21:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [November 22, 2007, 11:21am UTC](https://www.ruby-forum.com/t/installation-of-tioga/120980/1 "2007-11-22T11:21:58Z")

</div>

Dear all,

when installing tioga

[http://www.kitp.ucsb.edu/~paxton/tioga.html](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](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

---

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [November 22, 2007, 8:04pm UTC](https://www.ruby-forum.com/t/installation-of-tioga/120980/2 "2007-11-22T20:04:32Z")

</div>

On Nov 22, 2007, at 02:21 , Axel E. wrote:

> when installing tioga
> 
> [http://www.kitp.ucsb.edu/~paxton/tioga.html](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?

---

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [November 22, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/installation-of-tioga/120980/3 "2007-11-22T22:48:07Z")

</div>

-------- Original-Nachricht --------

> Datum: Fri, 23 Nov 2007 04:03:58 +0900  
> Von: Ryan D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> An: removed\_email\_address@domain.invalid  
> Betreff: Re: Installation of tioga

> > 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?

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

Best regards,

Axel
