[ILUG-BOM] Sqlite3 linking problem
Mon Jan 15 10:45:54 IST 2007
1. Compile like this: gcc first.c -lsqlite3 -Wall
This will enable all warnings. Will help you find out what may be wrong.
2. You need to check if you have the dev libraries installed or not. To
do this you need to check if sqlite-devel package is installed on your
system. This is distribution specific. Incase of redhat or its
derivatives I would just simple do:
rpm -qa | grep devel | grep sql
this will list all devel packages with sql in it =P
thnx dinesh and siddhesh ..........
u r right ... i dont have the sqlite3 - devel package installed on my system .... wht i do for this ? ( but i dont get any warnings even after using -Wall option ) .. still the error comes as invalid operation when linked with sqlite3 lib
Dinesh A. Joshi
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
More information about the Linuxers