1.9.3 (and nightly snapshot) error

hello - several people have helped me try to get 1.9.2 installed with no
luck thus far.

i tried to do 1.9.3 instead and actually got a little farther! but i
did get this error:

./ruby: symbol lookup error:
/usr/home/ruby/snapshot/.ext/i686-linux/enc/encdb.so:
undefined symbol: rb_encdb_declare
make: *** [rdoc] Error 127

any ideas?

thanks! (and a special thank-you for the patience shown to this total
newbie)

let me also add:

gcc -v ; ldd --version ; #glib gcc version
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: …/configure --prefix=/usr --mandir=/usr/share/man
–infodir=/usr/share/info --enable-shared --enable-threads=posix
–disable-checking --with-system-zlib --enable-__cxa_atexit
–disable-libunwind-exceptions --enable-java-awt=gtk
–host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

ldd (GNU libc) 2.3.4

On Mon, Sep 12, 2011 at 5:38 PM, mark e. [email protected]
wrote:

gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

ldd (GNU libc) 2.3.4

Are you using RHEL4 (or derivate, like CentOS/Scientific Linux)?
That’s more than 6 years old, and most likely EOL’d by Red Hat (and
thus derivative distributions).

Of course you are having trouble when the compiler and glibc are
vastly outdated!


Phillip G.

phgaw.posterous.com | twitter.com/phgaw | gplus.to/phgaw

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
– Leibniz

thanks for the suggestion, although i should have figured that one out
myself!

i upgraded gcc and ruby-1.9.3 compiled fine! strangely, ruby-1.9.2
kept giving some sort of corrupt memory error. but i am counting this
one as a success.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs