zlib problems with ruby 1.8.2 on suse 9.1

P

Pelle Braendgaard

I've been trying to get a hand built ruby to work on a suse 9.1
machine as the latest rpm is version 1.8.1.

I install ruby using plain old ./configure, make, make install as normal.

But it has a problem with zlib which I discovered trying to install gems:

irb(main):001:0> require 'zlib'
LoadError: /usr/local/lib/ruby/site_ruby/1.8/i686-linux/zlib.so:
undefined symbol: inflateReset -
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/zlib.so
from /usr/local/lib/ruby/site_ruby/1.8/i686-linux/zlib.so
from (irb):1

My Ruby is:

/opt/downloads/ruby-1.8.2 # ruby -v
ruby 1.8.2 (2004-12-25) [i686-linux]

And my zlib is:
/opt/downloads/ruby-1.8.2 # rpm -q zlib
zlib-1.2.1-70.6

I am confident that this is something really simple, but I am not
experienced enough in this area to work it out. The extension file
zlib.c from ruby contains a reference to it inflateReset, but this is
a supposedly a standard feature of zlib according to the manual, so I
don't understand why it doesn't load it.

I would appreciate any guidance here as I am on pretty bare ground here.


Regards
Pelle
 

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

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top