"pkg-config --exists sqlite3" | pkg-config --libs sqlite3 => "-L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3\n" "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -lruby.2.5.1-static -framework Foundation -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return 0; 6: } /* end */ "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -lruby.2.5.1-static -framework Foundation -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return 0; 6: } /* end */ | pkg-config --cflags-only-I sqlite3 => "-I/usr/local/Cellar/sqlite/3.29.0/include\n" | pkg-config --cflags-only-other sqlite3 => "\n" | pkg-config --libs-only-l sqlite3 => "-lsqlite3\n" package configuration for sqlite3 cflags: ldflags: -L/usr/local/Cellar/sqlite/3.29.0/lib libs: -lsqlite3 find_header: checking for sqlite3.h... -------------------- yes "clang -E -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- find_library: checking for pthread_create() in -lpthread... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -lruby.2.5.1-static -framework Foundation -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'pthread_create' int t(void) { void ((*volatile p)()); p = (void ((*)()))pthread_create; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))pthread_create; return !p; } /* end */ "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -lruby.2.5.1-static -framework Foundation -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void pthread_create(); 14: int t(void) { pthread_create(); return 0; } /* end */ -------------------- have_library: checking for -ldl... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: 14: int t(void) { ; return 0; } /* end */ -------------------- find_library: checking for sqlite3_libversion_number() in -lsqlite3... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'sqlite3_libversion_number' int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_libversion_number; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_libversion_number; return !p; } /* end */ "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void sqlite3_libversion_number(); 14: int t(void) { sqlite3_libversion_number(); return 0; } /* end */ -------------------- have_func: checking for rb_proc_arity()... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_proc_arity; return !p; } /* end */ -------------------- have_func: checking for rb_integer_pack()... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_integer_pack; return !p; } /* end */ -------------------- have_func: checking for sqlite3_initialize()... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'sqlite3_initialize' int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_initialize; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_initialize; return !p; } /* end */ "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void sqlite3_initialize(); 14: int t(void) { sqlite3_initialize(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_backup_init()... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'sqlite3_backup_init' int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_backup_init; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_backup_init; return !p; } /* end */ "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void sqlite3_backup_init(); 14: int t(void) { sqlite3_backup_init(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_column_database_name()... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'sqlite3_column_database_name' int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_column_database_name; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_column_database_name; return !p; } /* end */ "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void sqlite3_column_database_name(); 14: int t(void) { sqlite3_column_database_name(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_enable_load_extension()... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'sqlite3_enable_load_extension' int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_enable_load_extension; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_enable_load_extension; return !p; } /* end */ "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void sqlite3_enable_load_extension(); 14: int t(void) { sqlite3_enable_load_extension(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_load_extension()... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'sqlite3_load_extension' int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_load_extension; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_load_extension; return !p; } /* end */ "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void sqlite3_load_extension(); 14: int t(void) { sqlite3_load_extension(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_open_v2()... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'sqlite3_open_v2' int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_open_v2; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_open_v2; return !p; } /* end */ "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void sqlite3_open_v2(); 14: int t(void) { sqlite3_open_v2(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_prepare_v2()... -------------------- yes "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'sqlite3_prepare_v2' int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_prepare_v2; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_prepare_v2; return !p; } /* end */ "clang -o conftest -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -L/usr/local/opt/sqlite/lib -L. -L/Users/brian/.rbenv/versions/2.5.1/lib -fstack-protector -L/usr/local/lib -L/usr/local/Cellar/sqlite/3.29.0/lib -lsqlite3 -ldl -lpthread -lsqlite3 -lruby.2.5.1-static -framework Foundation -lsqlite3 -ldl -lpthread -lsqlite3 -lpthread -lgmp -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void sqlite3_prepare_v2(); 14: int t(void) { sqlite3_prepare_v2(); return 0; } /* end */ -------------------- have_type: checking for sqlite3_int64 in sqlite3.h... -------------------- yes "clang -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: typedef sqlite3_int64 conftest_type; 7: int conftestval[sizeof(conftest_type)?1:-1]; /* end */ -------------------- have_type: checking for sqlite3_uint64 in sqlite3.h... -------------------- yes "clang -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/brian/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/usr/local/Cellar/sqlite/3.29.0/include -I/usr/local/opt/sqlite/include -I/Users/brian/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: typedef sqlite3_uint64 conftest_type; 7: int conftestval[sizeof(conftest_type)?1:-1]; /* end */ --------------------