“ruby: symbol lookup error:
/usr/local/lib/ruby/gems/1.8/gems/tiny_tds-0.5.1/lib/tiny_tds/tiny_tds.so:
undefined symbol: dbsetluser”.
Looks like the gem is expecting a function (symbol) exported from FreeTDS that is not there, which brings again the question about what version of FreeTDS did you install.
Also, more details about your version of Ruby (ruby -v, gem env) will be good.
Considering you mention apt, I expect we’re talking about Ubuntu/Debian and a debian-provided Ruby? if not, please provide more details.
Thanks for your concern
Well, I am using Ubuntu 8.04.3 LTS server version.
What version of FreeTDS got installed?
In the /etc/freetds/freetds.conf file, it is written as
# $Id: freetds.conf,v 1.9 2003/12/04 22:26:55 freddy77 Exp $
I don't know how to check the version of freetds properly, my bad.
I just executed "sudo apt-get install freetds-dev" to install freetds, I
am not sure it really installed freetds.