Just download the amalgamation and include sqlite3.c and sqlite3.h in your 
project.

Much easier than trying to mess with shared libraries which you probably don't 
need anyways.

That would be the zip file on here:

http://www.sqlite.org/download.html







Michael D. Black

Senior Scientist

NG Information Systems

Advanced Analytics Directorate



________________________________
From: [email protected] [[email protected]] on 
behalf of Tarun [[email protected]]
Sent: Wednesday, August 31, 2011 7:47 AM
To: [email protected]
Subject: EXT :[sqlite] SQLite3 linking error on 64 bit linux machine

Hi All,

I am trying to use SQLite3 library on 64 bit machine. I have copied
libsqlite3.so from /usr/lib/ on 32bit linux machine to 64bit linux
machine.

While program compilation on 64bit machine, I am getting linking error
given below:
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib/libsqlite3.so when searching for
-lsqlite3
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
cannot find -lsqlite3

Please let me know what I should do to get it resolved.

Thanks in advance.

--
Regards,
- Tarun Thakur
Module Lead
NEC HCL System Technologies, Noida
www.nechclst.in<http://www.nechclst.in/>
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to