have_library: checking for main() in -lc... -------------------- yes "/usr/bin/gcc-4.2 -o conftest -I/opt/local/include -I. -I/Users/jim/Developer/.rvm/rubies/ree-1.8.7-2012.01/lib/ruby/1.8/i686-darwin11.3.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -g -O2 -pipe -fno-common -O0 -Wall conftest.c -L. -L/Users/jim/Developer/.rvm/rubies/ree-1.8.7-2012.01/lib -L. -lruby-static -lc -L/opt/local/lib -ldl -lobjc " ld: warning: directory not found for option '-L/opt/local/lib' checked program was: /* begin */ 1: /*top*/ 2: int main() { return 0; } 3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } /* end */ --------------------