From: Phillip Gawlowski Date: 2010-01-27T22:41:36+09:00 Subject: Re: being confused about libraries On 27.01.2010 14:37, Ruby Newbee wrote: > I have the following sqite3 for ruby installed: > > $ gem list *sqlite3* > > *** LOCAL GEMS *** > > dbd-sqlite3 (1.2.5) > sqlite3 (0.0.6) > sqlite3-ruby (1.2.5) > > > And these system libraries: > > $ dpkg -l *sqlite3* > > ii libsqlite3-0 3.6.16-1ubuntu1 > SQLite 3 shared library > ii libsqlite3-dev 3.6.16-1ubuntu1 > SQLite 3 development files > ii libsqlite3-ruby 1.2.4-2 > SQLite3 interface for Ruby > ii libsqlite3-ruby1.8 1.2.4-2 > SQLite3 interface for Ruby 1.8 > ii sqlite3 3.6.16-1ubuntu1 > A command line interface for SQLite 3 libsqlite3-ruby* is the sqlite3-ruby gem (the first one seems to be a meta package, once Ubuntu switches to Ruby 1.9 by default, so that 1.9 versions of gems get pulled by apt-get / synaptic). libsqlite3-0 and libsqlite3-dev are the plain old C based SQLite3 binaries and development packages, unrelated to Ruby, unless you build the native extension of the gem (which only needs the -dev package, technically speaking). -- Phillip Gawlowski