Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail From: Joel VanderWerf Newsgroups: comp.lang.ruby Subject: Re: no such file to load -- sqlite3 (LoadError) Date: Mon, 25 Apr 2011 23:04:29 -0500 Organization: Service de news de lacave.net Lines: 21 Message-ID: <4DB643AD.2030906@gmail.com> References: <46dd1b07112ae87ce8cf8d83c01043f8@ruby-forum.com> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1303792924 54516 65.111.164.187 (26 Apr 2011 04:42:04 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Tue, 26 Apr 2011 04:42:04 +0000 (UTC) In-Reply-To: <46dd1b07112ae87ce8cf8d83c01043f8@ruby-forum.com> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 382179 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <4DB643AD.2030906@gmail.com> Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:3492 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.