sstephenson/ruby-build — Issue #68: 1.9.3-rc1 installation failed on RHEL
Author: airblade
Created: 2011-10-20 11:48:26+00:00
State: open

I just pulled the latest repo changes, ran `sudo ./install.sh`, and then `rbenv install 1.9.3-rc1`. Although this worked for me on my OS X laptop, it failed on my RHEL server.

The last few lines of the log are:

```
installing default zlib libraries
linking shared-object zlib.so
make[2]: Leaving directory `/tmp/ruby-build.20111020064043.2396/ruby-1.9.3-rc1/ext/zlib'
make[2]: Entering directory `/tmp/ruby-build.20111020064043.2396/ruby-1.9.3-rc1'
linking ruby
make[2]: Leaving directory `/tmp/ruby-build.20111020064043.2396/ruby-1.9.3-rc1'
make[1]: Leaving directory `/tmp/ruby-build.20111020064043.2396/ruby-1.9.3-rc1'
Generating RDoc documentation
./ruby: symbol lookup error: /tmp/ruby-build.20111020064043.2396/ruby-1.9.3-rc1/.ext/i686-linux/enc/encdb.so: undefined symbol: rb_encdb_declare
make: *** [rdoc] Error 127
```

And my server's details:

```
$ uname -a
Linux my.host.name 2.6.18-53.1.6.el5xen #1 SMP Wed Jan 23 12:33:37 EST 2008 i686 athlon i386 GNU/Linux
```

How can I get this working please?