On Thu, Mar 23, 2006 at 12:07:30AM +0900, Tim Nordloh wrote: > These first couple of lines look like a malformed gcc command to me. Anyone > have an idea of what the line should read? > > gcc -g -O2 -DRUBY_EXPORT -DYYMAXDEPTH=300 -Wl,-E -L. > -L"/usr/local/include/openssl/lib" -E main.o ext/extinit.o ==== Could you try without this? > ext/bigdecimal/bigdecimal.a ext/curses/curses.a ext/dbm/dbm.a > ext/digest/md5/md5.a ext/digest/rmd160/rmd160.a ext/digest/sha1/sha1.a > ext/digest/sha2/sha2.a ext/iconv/iconv.a ext/openssl/openssl.a > ext/zlib/zlib.a -lruby-static -ldld -lcrypt -lm -lcur_colr -ltermcap -lssl > -lcrypto -liconv -lnsl -lz -o ruby BTW, you might have to add digest (which digest/md5 and friends depend on) and syck (in order to get ri to work) to the extension list. -- Mauricio Fernandez - http://eigenclass.org - singular Ruby