Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Problems with sybase-ctlib

Reply
Thread Tools

Problems with sybase-ctlib

 
 
EdUarDo
Guest
Posts: n/a
 
      08-29-2005
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'

=============================================
Exception: libct.so: cannot open shared object file: No such file or directory - /home/eyp/Desarrollo/ruby/lib/sybct.so


However there is a 'sybct.so' at /home/eyp/Desarrollo/ruby/lib/.

Have anybody test this library?
 
Reply With Quote
 
 
 
 
EdUarDo
Guest
Posts: n/a
 
      08-30-2005
EdUarDo wrote:
> Hi, I'm trying to make a connection with Sybase using sybase-ctlib 0.2.7.


Has anyone used this library?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving the web, charset problems and symbols problems Sak Na rede Ruby 0 01-30-2009 05:05 AM
Problems, problems for newbie Shelly ASP .Net 1 09-03-2007 02:10 AM
Problems compiling simple C++ code (also problems with std::string) Susan Baker C++ 2 06-26-2005 01:43 AM
Re: sound problems and modem problems Harold Potter Computer Support 5 12-04-2003 04:12 PM



Advertisments