On Thu, Aug 24, 2006 at 06:12:34AM -0700, Stephen Fitch wrote: > "gcc -o conftest -I. -I/usr/local/lib/ruby/1.8/sparc-solaris2.10 > -I/usr/local/include -g -O2 conftest.c -L'/usr/local/lib' > -Wl,-R'/usr/local/lib' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' > -lruby-static -lsqlite3 -ldl -lcrypt -lm -lc" > Undefined first referenced > symbol in file > fdatasync /usr/local/lib/libsqlite3.so > ld: fatal: Symbol referencing errors. No output written to conftest
fdatasync is in librt. You will have to add -lrt to the libraries. See man fdatasync for details. I've built sqlite3 on Solaris 10 successfully (though I can't help with ruby.) -- Geoff Lane Today's Excuse: Just type 'mv * /dev/null'. ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------