Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3492

Re: no such file to load -- sqlite3 (LoadError)

From Joel VanderWerf <joelvanderwerf@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: no such file to load -- sqlite3 (LoadError)
Date 2011-04-25 23:04 -0500
Organization Service de news de lacave.net
Message-ID <4DB643AD.2030906@gmail.com> (permalink)
References <46dd1b07112ae87ce8cf8d83c01043f8@ruby-forum.com>

Show all headers | View raw


On 04/25/2011 08:51 PM, Jim S. wrote:
> I am learning how to use ruby from the book, 'beginning ruby, novice to
> pro...' The chapter on using ruby with sql requires that I install
> sqlite3-ruby.
>
> Using sudo gem install sqlite3-ruby, I got the following--
>
> Building native extensions.  This could take a while...
> ERROR:  Error installing sqlite3-ruby:
>    ERROR: Failed to build gem native extension.
>
> /usr/bin/ruby1.8 extconf.rb
> checking for sqlite3.h... no
> sqlite3.h is missing. Try 'port install sqlite3 +universal'
..
> *my pc is on ubuntu 11.04. I checked synaptic package manager and see
> that sqlite3 is installed.

You need libsqlite3-dev, which will provide sqlite3.h.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

no such file to load -- sqlite3 (LoadError) "Jim S." <jimsyyap@gmail.com> - 2011-04-25 22:51 -0500
  Re: no such file to load -- sqlite3 (LoadError) Joel VanderWerf <joelvanderwerf@gmail.com> - 2011-04-25 23:36 -0500
  Re: no such file to load -- sqlite3 (LoadError) "Jim S." <jimsyyap@gmail.com> - 2011-04-25 23:10 -0500
  Re: no such file to load -- sqlite3 (LoadError) Joel VanderWerf <joelvanderwerf@gmail.com> - 2011-04-25 23:04 -0500
  Re: no such file to load -- sqlite3 (LoadError) "Jim S." <jimsyyap@gmail.com> - 2011-04-25 23:50 -0500
    Re: no such file to load -- sqlite3 (LoadError) Joel VanderWerf <joelvanderwerf@gmail.com> - 2011-04-26 00:06 -0500
  Re: no such file to load -- sqlite3 (LoadError) "Jim S." <jimsyyap@gmail.com> - 2011-04-26 00:00 -0500
  Re: no such file to load -- sqlite3 (LoadError) "Jim S." <jimsyyap@gmail.com> - 2011-04-26 00:10 -0500

csiph-web