Instruction for compiling sqlite for linux on x86_64

 1. Get source(autoconf version) from: http://www.sqlite.org/download.html
 2. Extract somewhere
 3. Insert the following at the begining in sqlite3.c (Allow us to link against an older version of Glibc):

    #ifdef __amd64__
    __asm__(".symver memcpy, memcpy@GLIBC_2.2.5");
    #else
    __asm__ (".symver memcpy, memcpy@GLIBC_2.0");
    #endif

 4. $ ./configure
 5. $ make
 6. Copy .libs/libsqlite3.so.0.8.6 to ThirdParty/SQLite3/linux/x86_64/3.8.2
 7. $ make clean
 8. $ ./configure --host=i686-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
 9. $ make
10. Copy .libs/libsqlite3.so.0.8.6 to ThirdParty/SQLite3/linux/x86/3.8.2

Don't forget to update System.Data.SQLite.dll.config

