On Tue, Oct 06, 2009 at 07:50:52AM -0400, Pavel Ivanov scratched on the wall: > I think you need to change your last compilation command line to this: > > gcc -shared -Wl,-soname,virtcsv.so -o virtcsv.so -O2 -L/opt/local/lib > -lsqlite3 -liconv virtual_csv.o csvfile.o ext_init.o
Neither -shared nor -soname are supported on Mac OS X. You need to use -dynamiclib. Also, since OS X doesn't use ELF, the correct dynamic library extension is .dylib, not .so. The file format is more robust and allows things like multiple architectures. -j -- Jay A. Kreibich < J A Y @ K R E I B I.C H > "Our opponent is an alien starship packed with atomic bombs. We have a protractor." "I'll go home and see if I can scrounge up a ruler and a piece of string." --from Anathem by Neal Stephenson _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users