From: Timothy Hunter Date: 2007-03-13T20:35:41+09:00 Subject: Re: [ANN] Ruby 1.8.6 has been released - SOLVED Caleb Tennis wrote: > >> gcc -Wall -g -pipe -fno-common -DRUBY_EXPORT -L/opt/local/lib -L. >> main.o -lruby-static -ldl -lobjc -o ruby > > The ruby you are building is linking against the ruby lib in > /opt/local/lib. Can you try moving that out of the way first? > That's the ticket! In fact this morning I had an email from Patrick Georgi, who said: Anyway: it tries to link /opt/local/lib/libruby-static.a, which is very likely the old version. Either remove that file on build-time (it will be recreated when you install), or change the command line to gcc -Wall -g -pipe -fno-common -DRUBY_EXPORT -L/opt/local/lib -L. main.o libruby-static.a -ldl -lobjc -o ruby ie. change -lruby-static.a to libruby-static.a I had the same problem on Solaris. I did as he recommended an now everything is working perfectly. Thanks, Patrick and Caleb!