Issue #1080 has been updated by Ngoc Dao. I am using MacPorts and it is installed at /opt. As a result, if I do the following things the above errors are gone: $ ./configure --prefix=/Users/ngocdt/opt/ruby CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include CXXFLAGS=-I/opt/local/include $ mv /usr/local/lib /usr/local/original_lib $ ln -s /opt/local/lib /usr/local/lib $ make $ make install ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1080 ---------------------------------------- http://redmine.ruby-lang.org