find_header: checking for sqlite3.h... -------------------- yes "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lruby-static -lpthread -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main() {return 0;} /* end */ "/usr/bin/gcc-4.2 -E -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- find_library: checking for sqlite3_libversion_number() in -lsqlite3... -------------------- yes "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lruby-static -lsqlite3 -lpthread -ldl -lobjc " conftest.c: In function ‘t’: conftest.c:5: error: ‘sqlite3_libversion_number’ undeclared (first use in this function) conftest.c:5: error: (Each undeclared identifier is reported only once conftest.c:5: error: for each function it appears in.) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_libversion_number; return 0; } /* end */ "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lruby-static -lsqlite3 -lpthread -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { sqlite3_libversion_number(); return 0; } /* end */ -------------------- have_func: checking for rb_proc_arity()... -------------------- yes "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_proc_arity; return 0; } /* end */ -------------------- have_func: checking for sqlite3_initialize()... -------------------- yes "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " conftest.c: In function ‘t’: conftest.c:5: error: ‘sqlite3_initialize’ undeclared (first use in this function) conftest.c:5: error: (Each undeclared identifier is reported only once conftest.c:5: error: for each function it appears in.) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_initialize; return 0; } /* end */ "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { sqlite3_initialize(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_backup_init()... -------------------- yes "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " conftest.c: In function ‘t’: conftest.c:5: error: ‘sqlite3_backup_init’ undeclared (first use in this function) conftest.c:5: error: (Each undeclared identifier is reported only once conftest.c:5: error: for each function it appears in.) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_backup_init; return 0; } /* end */ "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { sqlite3_backup_init(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_column_database_name()... -------------------- no "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " conftest.c: In function ‘t’: conftest.c:5: error: ‘sqlite3_column_database_name’ undeclared (first use in this function) conftest.c:5: error: (Each undeclared identifier is reported only once conftest.c:5: error: for each function it appears in.) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_column_database_name; return 0; } /* end */ "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " Undefined symbols for architecture x86_64: "_sqlite3_column_database_name", referenced from: _t in ccLzi5SM.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { sqlite3_column_database_name(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_enable_load_extension()... -------------------- no "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " conftest.c: In function ‘t’: conftest.c:5: error: ‘sqlite3_enable_load_extension’ undeclared (first use in this function) conftest.c:5: error: (Each undeclared identifier is reported only once conftest.c:5: error: for each function it appears in.) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_enable_load_extension; return 0; } /* end */ "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " Undefined symbols for architecture x86_64: "_sqlite3_enable_load_extension", referenced from: _t in ccF1GDNv.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { sqlite3_enable_load_extension(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_load_extension()... -------------------- no "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " conftest.c: In function ‘t’: conftest.c:5: error: ‘sqlite3_load_extension’ undeclared (first use in this function) conftest.c:5: error: (Each undeclared identifier is reported only once conftest.c:5: error: for each function it appears in.) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_load_extension; return 0; } /* end */ "/usr/bin/gcc-4.2 -o conftest -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.3.0 -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/jdtornow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I'/Users/jdtornow/.rbenv/versions/1.9.2-p290/include' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib -L. -L'/Users/jdtornow/.rbenv/versions/1.9.2-p290/lib' -lsqlite3 -lruby-static -lsqlite3 -lpthread -ldl -lobjc " Undefined symbols for architecture x86_64: "_sqlite3_load_extension", referenced from: _t in ccWwmhGq.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { sqlite3_load_extension(); return 0; } /* end */ --------------------