ruby-odbc Cannot allocate SQLHENV

Bug #1832778 reported by Olaf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

package: ruby-odbc
Raspbian Stretch
uname -a
Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
sudo dpkg -l |grep ruby-odbc
ii ruby-odbc 0.99995-2+b2 armhf ODBC Binding for Ruby

Expecting (as is happening on Debian Stretch AMD64):

~$ irb
irb(main):001:0> require 'odbc'
=> true
irb(main):002:0> ODBC.datasources
=> []
irb(main):003:0> exit

Happening:
# ~# irb
# rb(main):001:0> require 'odbc'
# => true
# irb(main):002:0> ODBC.drivers
# ODBC::Error: INTERN (0) [RubyODBC]Cannot allocate SQLHENV
# from (irb):2:in `drivers'
# from (irb):2
# from /usr/bin/irb:11:in `<main>'
# irb(main):003:0> exit

Every ODBC call fails. Probably because ruby-odbc is not correctly build.
See (including fix): http://opensysblog.directorioc.net/2013/07/rubyodbccannot-allocate-sqlhenv.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.