From: Steve Johnston Date: 2011-12-26T11:27:13+09:00 Subject: make error: symbol lookup error: undefined symbol Any help on this would be greatly appreciated. I am trying to install 1.9.3 on a RHEL Linux system that is pretty old. After running ./configure, I run ./make and get the error below.: ... linking shared-object zlib.so installing default zlib libraries make[2]: Leaving directory `/opt/local/src/ruby-1.9.3-p0/ext/zlib' make[2]: Entering directory `/opt/local/src/ruby-1.9.3-p0' linking ruby make[2]: Leaving directory `/opt/local/src/ruby-1.9.3-p0' make[1]: Leaving directory `/opt/local/src/ruby-1.9.3-p0' Generating RDoc documentation ./ruby: symbol lookup error: /opt/local/src/ruby-1.9.3-p0/.ext/i686-linux/enc/encdb.so: undefined symbol: rb_encdb_declare make: *** [rdoc] Error 127 Here is the top of the ./make output: # make CC = gcc LD = ld LDSHARED = gcc -shared CFLAGS = -O3 -ggdb -Wall -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Werror-implicit-function-declaration XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT CPPFLAGS = -I. -I.ext/include/i686-linux -I./include -I. DLDFLAGS = SOLIBS = compiling main.c Additional Info: /usr/libexec/gcc/i386-redhat-linux5E/4.1.2 Linux allncrkt18.edc.cingular.net 2.6.9-101.ELsmp #1 SMP Fri May 27 18:57:30 EDT 2011 i686 athlon i386 GNU/Linux Existing Version: ruby -e 'puts $:' /usr/local/lib/ruby/site_ruby/1.8 /usr/local/lib/ruby/site_ruby/1.8/i686-linux /usr/local/lib/ruby/site_ruby /usr/local/lib/ruby/1.8 /usr/local/lib/ruby/1.8/i686-linux Thanks for your help. Please let me know how to get Ruby 1.9.3 up and running. -- Posted via http://www.ruby-forum.com/.