The Ubuntu SQLite3 compiler and readLine (History) support

Recommended for you: Get network issues from WhatsUp Gold. Not end users.
In this paper, the copyright belongs to the authorAll, any people, media or website reprint, borrow must obtain the consent!

1 to the official website to download the source code, extract.
2 compiler (default, no readLine (History) support):
gcc -o sqlite3 *.c -lpthread -ldl

3 compiler, add a readLine (Command History) support:
Install the Readline Library Development:
sudo apt-get install libreadline6 libreadline6-dev

Compile:
gcc -DHAVE_READLINE=1 -o sqlite3 *.c -lpthread -ldl -lreadline

In this paper, the copyright belongs to the authorAll, any people, media or website reprint, borrow must obtain the consent!
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Oprah at December 01, 2013 - 1:45 PM