SQLite Forum

C api sqlite3_db_readonly returns -1
I studied a little bit the compilation with the sqlite3.c and I saw that the amalgamation is the recommended method. I use arch linux as os and I checked the available sqlite3 files but i didn't noticed that file. I used to compile with gcc file.c -l sqlite3 -o a.out. is IT possible that this was the cause of the segmentation fault core dump ?