[Nitro] Which sqlite adapter?

George Moschovitis george.moschovitis at gmail.com
Tue Feb 13 11:24:39 EST 2007


> ERROR: libsqlite3.so: cannot open shared object file: No such file or
> directory

Seems to me that you have not installed the sqlite3 driver correctly.

-g.

On 2/13/07, transfire at gmail.com <transfire at gmail.com> wrote:
>
>
>
> On Feb 13, 10:01 am, "George Moschovitis"
> <george.moschovi... at gmail.com> wrote:
> > sqlite3-ruby
>
> Sigh....
>
> Building native extensions.  This could take a while...
> make: *** No rule to make target `ruby.h', needed by
> `sqlite3_api_wrap.o'. Stop.
> make: *** No rule to make target `ruby.h', needed by
> `sqlite3_api_wrap.o'. Stop.
> ruby extconf.rb install sqlite3-ruby
> checking for sqlite3.h... no
>
> make
>
> make install
> Successfully installed sqlite3-ruby-1.2.1
> Installing RDoc documentation for sqlite3-ruby-1.2.1...
>
> lib/sqlite3/database.rb:638:65: Skipping require of dynamic string:
> "sqlite3/driver/#{driver.to_s.downcase}/driver"
>
> lib/sqlite3/database.rb:643:59: Skipping require of dynamic string:
> "sqlite3/driver/#{d.downcase}/driver"
>
> trans at upixie:~/ruby/nitro/repo.nitroproject.org/examples/blog$ ruby
> app.rb
> INFO: Og uses the Sqlite store.
> ERROR: RuntimeError in Og.setup:
> ERROR: libsqlite3.so: cannot open shared object file: No such file or
> directory
> ERROR: /usr/lib/ruby/1.8/dl/import.rb:29:in `initialize'
> /usr/lib/ruby/1.8/dl/import.rb:29:in `dlload'
> /usr/lib/ruby/1.8/dl/import.rb:27:in `dlload'
> /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/driver/dl/
> api.rb:63
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require'
> /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/driver/dl/
> driver.rb:33
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require'
> /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/database.rb:
> 643:in `load_driver'
> /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/database.rb:
> 641:in `load_driver'
> /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/database.rb:
> 107:in `initialize'
> /home/trans/ruby/nitro/repo.nitroproject.org/og/lib/og/adapter/
> sqlite.rb:35:in `initialize'
> /home/trans/ruby/nitro/repo.nitroproject.org/og/lib/og/manager.rb:
> 88:in `init_store'
> /home/trans/ruby/nitro/repo.nitroproject.org/og/lib/og/manager.rb:
> 87:in `init_store'
> /home/trans/ruby/nitro/repo.nitroproject.org/og/lib/og/manager.rb:
> 75:in `initialize'
> /home/trans/ruby/nitro/repo.nitroproject.org/og/lib/og.rb:151:in
> `start'
> ./conf/debug.rb:9:in `setup_og'
> ./conf/debug.rb:23:in `setup'
> /home/trans/ruby/nitro/repo.nitroproject.org/nitro/lib/nitro/server.rb:
> 31:in `configure'
> /home/trans/ruby/nitro/repo.nitroproject.org/nitro/lib/nitro/server/
> app.rb:115:in `configure'
> /home/trans/ruby/nitro/repo.nitroproject.org/nitro/lib/nitro/server/
> app.rb:75:in `start'
> app.rb:28
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070213/932ef5ab/attachment-0001.html 


More information about the Nitro-general mailing list