symbol lookup error: /usr/lib/ruby/1.9.1/i686-linux/odbc.so: undefined symbol: rb_str2cstr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libodbc-ruby (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libodbc-ruby1.9.1
Hello,
I have a ODBC data source configured using iodbc for a PostgreSLQ database.
I've installed libodbc-ruby1.9.1 and when I try to use this data source, I get:
$ irb1.9.1
irb(main):001:0> require 'odbc'
=> true
irb(main):002:0> c = ODBC.connect(
irb1.9.1: symbol lookup error: /usr/lib/
I'm running ruby1.9 with no gems (all ruby packages installed from Ubuntu's repository).
Any ideas about what can be wrong with my installation?
Thanks,
Daniel
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libodbc-ruby1.9.1 0.99991-2
ProcVersionSign
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Wed Dec 22 16:48:00 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
LANGUAGE=
LANG=pt_BR.UTF-8
SHELL=/bin/bash
SourcePackage: libodbc-ruby
I'm receiving the same thing:
$ irb1.9.1 :Database. new('test. db') ruby/1. 9.1/x86_ 64-linux/ sqlite3_ api.so: undefined symbol: rb_str2cstr
irb(main):001:0> require 'sqlite3'
=> true
irb(main):002:0> c = SQLite3:
irb1.9.1: symbol lookup error: /usr/lib/
I'm running ruby 1.9.1 no gems installed, using only Ubuntu packages.