Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.