Hi, I'm trying to use sqlite with linux (Ubuntu, Pascal, Lazarus). I'm still not very familiar with linux development so I might miss something essential.
Two scenarios work ok - statically linked latest version compiled (3.7.6.3), no options or defines changed - Dynamically loaded (dlopen) sqlite used from the installed package libsqlite3 (libsqlite3.so) But when I try to use shared library compiled from the same sources and use it with dlopen some errors appear. - If I just compile without mapping sqlite3_initialize to init proc, first call to sqlite3GlobalConfig.m.xRoundup(n) in mallocWithAlarm gives SIGSEGV error. - If I map sqlite3_initialize to init, the same happen with the first call to sqlite3_mutex_enter call. The library is build with gcc -g -c -fPIC sqlite3.c gcc -shared -Wl,-init=sqlite3_initialize -o customsqlite.so sqlite3.o What am I missing here? Thanks, Max _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

