[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Installation of tioga

Axel Etzold

11/22/2007 10:21:00 AM

Dear all,

when installing tioga

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

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.rub...
...............
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/mult...

2 Answers

Ryan Davis

11/22/2007 7:04:00 PM

0


On Nov 22, 2007, at 02:21 , Axel Etzold wrote:

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


Axel Etzold

11/22/2007 9:39:00 PM

0


-------- Original-Nachricht --------
> Datum: Fri, 23 Nov 2007 04:03:58 +0900
> Von: Ryan Davis <ryand-ruby@zenspider.com>
> An: ruby-talk@ruby-lang.org
> Betreff: Re: Installation of tioga

>
> On Nov 22, 2007, at 02:21 , Axel Etzold wrote:
>
> > when installing tioga
> >
> > http://www.kitp.ucsb.edu/~paxton/...,
> >
> > 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?
>

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

Best regards,

Axel


--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/g...