cannot find -lsqlite3 when cross compiling


I am trying to interface with an sqlite3 db, as a starter i ran the example code from here I have added sqlite3 to the linker libraries (-l), but i get the following error from eclipse.

09:40:51 **** Incremental Build of configuration Debug for project BBB_remote_Generic_c11 ****
make all
Building target: BBB_remote_Generic_c11
Invoking: GCC C++ Linker
arm-linux-gnueabihf-g++ -L/usr/arm-linux-gnueabihf/lib -pthread -o “BBB_remote_Generic_c11” ./src/includes/PosixSignalDispatcher.o ./src/includes/SerialPort.o ./src/includes/SerialStream.o ./src/includes/SerialStreamBuf.o ./src/sqlite3_example.o -lsqlite3
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/…/…/…/…/arm-linux-gnueabihf/bin/ld: cannot find -lsqlite3
collect2: error: ld returned 1 exit status
make: *** [BBB_remote_Generic_c11] Error 1

09:40:51 Build Finished (took 58ms)


I am not sure how to fix this, please help.