I’ve been having a problem where the rails server (either WEBrick or
Mongrel) hangs and becomes unresponsive overnight. I read some posts
that caused me to think this might be an issue with Ruby’s MySQL
driver, so I thought I would try the mysql gem. I ran:
gem install mysql --include-dependencies – --build-options --with-
mysql-config=/depot/bin/mysql_config
picked “mysql 2.7 (ruby)” (because I’m running on RedHat Linux) and
got a message that the gem had successfully been installed.
However, as soon as my application tries to access the database, I get
the following error (and Mongrel crashes):
ruby: symbol lookup error: /depot/packages/ruby-1.8.5-p2-bin/lib/ruby/
gems/1.8/gems/mysql-2.7/lib/mysql.so: undefined symbol:
_intel_fast_memcpy
Does anyone have any idea what might be the cause? It seems odd that
something would compile successfully, but then crash when running. I
get the same error if I try to access the database from script/
console.
--Paul