> ./ruby: symbol lookup error:

> /opt/local/src/ruby-1.9.3-p0/.ext/i686-linux/enc/encdb.so: undefined
symbol: rb_encdb_declare


This is declared in:

encoding.c:void rb_encdb_declare(const char *name);
encoding.c:rb_encdb_declare(const char *name)

And in:

enc/encdb.c:void rb_encdb_declare(const char *name);
enc/encdb.c:#define ENC_DEFINE(name) rb_encdb_declare(name)

Other than that I have no idea why you get this error.

It would be helpful to provide accurate versions of make, gcc, glibc and 
binutils as well.

Something like:

GCC Version:      GCC version 4.6.1
Glibc Version:    ldd (Debian EGLIBC 2.13-20) 2.13
CFLAGS in use:    -fomit-frame-pointer -frerun-loop-opt -pipe -fPIC 
-pthread
Binutils Version: GNU ld (GNU Binutils) 2.22

-- 
Posted via http://www.ruby-forum.com/.