1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Note for dynamic loading of ODBC Managers
=========================================
Most platforms support dynamic loading of libraries using the dlopen()
mechanism, which the libraries in this package tries to use. Therefore,
any ODBC Managers such as iODBC, unixODBC or others which are installed in
your machine are available to use with the libraries. You can specify a
particular one by using environment variables: RUBY_ODBC_DM,
RUBY_ODBC_INST. For example,
$ RUBY_ODBC_DM=libodbc.so RUBY_ODBC_INST=libodbc.so ruby test.rb
Note for the UTF-8 version
==========================
If you use the UTF-8 version, require 'odbc_utf8' must be called before
loading DBI::ODBC Driver, which tries to bind 'odbc'. This way leads to
getting the module name 'ODBC' and 'ODBC_NONE' for 'odbc_utf8' and 'odbc'
respectively.
-- Daigo Moriwaki <daigo@debian.org> Tue, 25 Mar 2009
|