# Errors during sqlite3 install

**URL:** <https://www.ruby-forum.com/t/errors-during-sqlite3-install/178853>\
**Category:** Rails\
**Created:** [November 12, 2009, 11:03am UTC](https://www.ruby-forum.com/t/errors-during-sqlite3-install/178853 "2009-11-12T11:03:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kangaroo99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/76d3ee/32.png) [@kangaroo99](https://www.ruby-forum.com/u/kangaroo99)\
**Post date:** [November 12, 2009, 11:03am UTC](https://www.ruby-forum.com/t/errors-during-sqlite3-install/178853/1 "2009-11-12T11:03:26Z")

</div>

I have localhost:3000 working.  
Windows xp system  
I placed sqlite3.exe and dll in windows/system directory and made sure  
it was in the path.

When I used gem install sqlite3-ruby it gave a large number of  
errors indicating no definition. Looked like it couldn’t find the  
master table or something.

Other than placing sqlite3.exe in the windows\system was I supposed to  
create a db table? Not clear from two different books I bought.

I got the say/hello application working. Wondering what to do next or  
should I continue to follow the tutuorial?

Kangaroo99

---

<div class="post-metadata">

**Author:** ![kangaroo99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/76d3ee/32.png) [@kangaroo99](https://www.ruby-forum.com/u/kangaroo99)\
**Post date:** [November 13, 2009, 1:02am UTC](https://www.ruby-forum.com/t/errors-during-sqlite3-install/178853/2 "2009-11-13T01:02:19Z")

</div>

There were many error lines. The last one follows the pattern of all  
of them.

After invoking gem install sqlite3-ruby I got

‘No definition for \_wrap\_sqlite3\_aggregate\_context’

The say hello program works however.

Using gem install sqlite-ruby it seemed to install without these  
messages but the webrick server would crash as soon as I tried to do  
the say/hello example.

Do I just rename sqlite3.exe to sqlite.exe and try again?

bob

---

<div class="post-metadata">

**Author:** ![kangaroo99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/76d3ee/32.png) [@kangaroo99](https://www.ruby-forum.com/u/kangaroo99)\
**Post date:** [November 12, 2009, 3:19pm UTC](https://www.ruby-forum.com/t/errors-during-sqlite3-install/178853/3 "2009-11-12T15:19:15Z")

</div>

Post the actual error message you get from the gem install. That  
makes it much easier to give you some help.

---

<div class="post-metadata">

**Author:** ![kangaroo99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/76d3ee/32.png) [@kangaroo99](https://www.ruby-forum.com/u/kangaroo99)\
**Post date:** [November 13, 2009, 6:02am UTC](https://www.ruby-forum.com/t/errors-during-sqlite3-install/178853/4 "2009-11-13T06:02:40Z")

</div>

Sqlite3 is what you want to use. Before installing sqlite3-ruby you  
need to be sure you’ve got sqlite3 installed correctly. The site to  
go to is: [http://www.sqlite.org/](http://www.sqlite.org/).

You can follow the Downloads link to get the pre-compiled version for  
Windows. You want to get both sqlite-3\_6\_20.zip and  
sqlitedll-3\_6\_20.zip. They need to be installed in a directory that  
is on your path.

I have little experience with the MS environment but  
sqlite3\_aggregate\_context comes from the sqlite3 api. I’m guessing  
that, if you’ve already installed sqlite3, that it cannot be found  
when you do “gem install sqlite3-ruby” Part of the gem installation  
includes compiling some c code. This code will need sqlite3 header  
files and library.

HTH
