J
Just Another Victim of the Ambient Morality
I asked the administrator of my machine to install a MySQL API module
from the site:
http://www.tmtm.org/en/mysql/ruby/
...but it's not working. Running the simple script:
#!/usr/bin/ruby
require "mysql"
sql = Mysql.new("localhost", "me", "my_password", "my_database")
...causes the error:
/usr/bin/ruby: relocation error: /usr/lib/ruby/1.6/i386-linux-gnu/mysql.so:
undefined symbol: StringValuePtr
If I were to guess, this looks like a simple problem. The system uses
Ruby 1.6 (as you can see) and MySQL 3.23.58, which are both older versions
than the interface claims to support. However, I suspect that's not the
source of the error "undefined symbol: StringValuePtr".
Can anyone take a wild and crazy guess as to what the problem is? If
you prefer to e-mail me, you can reach me at (e-mail address removed)
Thank you!
from the site:
http://www.tmtm.org/en/mysql/ruby/
...but it's not working. Running the simple script:
#!/usr/bin/ruby
require "mysql"
sql = Mysql.new("localhost", "me", "my_password", "my_database")
...causes the error:
/usr/bin/ruby: relocation error: /usr/lib/ruby/1.6/i386-linux-gnu/mysql.so:
undefined symbol: StringValuePtr
If I were to guess, this looks like a simple problem. The system uses
Ruby 1.6 (as you can see) and MySQL 3.23.58, which are both older versions
than the interface claims to support. However, I suspect that's not the
source of the error "undefined symbol: StringValuePtr".
Can anyone take a wild and crazy guess as to what the problem is? If
you prefer to e-mail me, you can reach me at (e-mail address removed)
Thank you!