Package: libsqlite3-ruby1.9.1
Version: 1.2.4-2.1
Severity: important

When I try to run the following code:

require 'sqlite3'
SQLite3::Database.new('db')

libsqlite3-ruby1.9.1 on Debian stable i836 using ruby1.9.1 the following error
is thrown:

ruby1.9.1: symbol lookup error: /usr/lib/ruby/1.9.1/i486-linux/sqlite3_api.so:
undefined symbol: rb_str2cstr

This error is not raised when using libsqlite3-ruby1.8.  Further more I tested
this on a friend's virtual machine using ruby1.9.1, which is running Debian
stable AMD64, libsqlite3-ruby1.9.1 threw the same error and libsqlite3-ruby1.8
again worked fine.

For both machines that this was tested on version 1.9.2.0-2 of libruby1.9.1, 
version 1.2.4-2.1 of libsqlite3-ruby1.9.1 and version 1.9.2.0-2 of ruby1.9.1
where used.

Compiling libsqlite3-ruby1.9.1 from source and running it using ruby1.9.1 on
Debian stable i836 and running the same code throws the following error:

ruby1.9.1: symbol lookup error: /usr/lib/ruby/1.9.1/i486-linux/sqlite3_api.so:
undefined symbol: STR2CSTR

The version compiled from source also appears to be version 1.2.4-2.1 of
libsqlite3-ruby1.9.1.

Furthermore, this code does not throw an error on Debian AMD64 unstable.


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libsqlite3-ruby1.9.1 depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libruby1.9.1                  1.9.2.0-2  Libraries necessary to run Ruby 1.
ii  libsqlite3-0                  3.7.3-1    SQLite 3 shared library

libsqlite3-ruby1.9.1 recommends no packages.

libsqlite3-ruby1.9.1 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to