have_library: checking for fdatasync() in -lrt... -------------------- no

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-openbsd4.7 -I. -I/usr/local/include -DOPENSSL_NO_STATIC_ENGINE  -O2 -pipe  -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-E     -lruby-static -lrt  -lm   -lc"
conftest.c: In function `t':
conftest.c:3: error: `fdatasync' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))fdatasync; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-openbsd4.7 -I. -I/usr/local/include -DOPENSSL_NO_STATIC_ENGINE  -O2 -pipe  -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-E     -lruby-static -lrt  -lm   -lc"
/usr/bin/ld: cannot find -lrt
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { fdatasync(); return 0; }
/* end */

--------------------

have_header: checking for sqlite3.h... -------------------- yes

"cc -E -I. -I/usr/local/lib/ruby/1.8/i386-openbsd4.7 -I. -I/usr/local/include -DOPENSSL_NO_STATIC_ENGINE  -O2 -pipe  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <sqlite3.h>
/* end */

--------------------

have_library: checking for sqlite3_open() in -lsqlite3... -------------------- yes

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-openbsd4.7 -I. -I/usr/local/include -DOPENSSL_NO_STATIC_ENGINE  -O2 -pipe  -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-E     -lruby-static -lsqlite3  -lm   -lc"
conftest.c: In function `t':
conftest.c:3: error: `sqlite3_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_open; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-openbsd4.7 -I. -I/usr/local/include -DOPENSSL_NO_STATIC_ENGINE  -O2 -pipe  -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-E     -lruby-static -lsqlite3  -lm   -lc"
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { sqlite3_open(); return 0; }
/* end */

--------------------

