Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've download the Ubuntu SDK to make apps. Building a native app went great in QtCreator. But now I'm trying to build an app using QtCreator with HTML5. So I made a new project and chose HTML5 as project template and simply build it. It gives me the following error:

/usr/bin/ld: cannot find -lsqlite3
collect2: ld returned 1 exit status

I'm assuming it cannot find sqlite3 library. But again I'm new using this SDK. What is the best thing to do to solve this problem?

share|improve this question
up vote 3 down vote accepted

Install the SQLite 3 development package (libsqlite3-dev Install libsqlite3-dev) and your linker should be able to link your binary with sqlite3 lib.

share|improve this answer
Yes, you are correct! That worked! I was looking for sqlite3-dev but that was the correct package name. thanks! – David R. Jul 10 '13 at 21:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.