Your message dated Sat, 17 Sep 2011 20:10:12 +0300
with message-id <20110917171012.GA15663@localhost>
and subject line this bug is not present in recent versions of ruby-sqlite3
has caused the Debian Bug report #632155,
regarding libsqlite3-ruby1.9.1: Throws an 'sqlite3_api.so: undefined symbol: 
rb_str2cstr' error on use
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
632155: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632155
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Version: 1.3.3-1

Marking this bug as resolved since version 1.3.3-1 since it's not
present in testing or unstable.


--- End Message ---

Reply via email to