Hi, I'm trying to make a connection with Sybase using sybase-ctlib 0.2.7.
require 'sybsql.rb'
def test
hash = {'S'=>'192.168.1.119:4120', 'U'=>'user', 'P'=>'password', 'appname'=>'multilingual'}
conn = SybSQL.new(hash)
conn.sql('select * from text where objectid_id = 1050000002')
puts conn.cmd_done?
conn.close
end
test
And I get this error stack trace:
================ LoadError =====================
/home/eyp/Desarrollo/ruby/lib/sybct.so
???
/home/eyp/Desarrollo/ruby/lib/sybct.rb:3
require "sybct.o"
/home/eyp/Desarrollo/ruby/lib/sybsql.rb:4:in `require'
require "sybct.rb"
/home/eyp/Desarrollo/ruby/lib/sybsql.rb:4
require "sybct.rb"
/home/eyp/Desarrollo/ruby/tests/sybaseTest/test.rb:1:in `require'
require 'sybsql.rb'
/home/eyp/Desarrollo/ruby/tests/sybaseTest/test.rb:1
require 'sybsql.rb'