New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib/mysql.so: undefined symbol: vio_blocking #8
Comments
It looks like I think the
|
any workarounds regarding this issue? |
I made it work by commenting out code from what did that function really do? |
Seeing the same issue on OSX Mountain Lion with mysql 5.6 and ruby 2.0 installed through home brew: dyld: lazy symbol binding failed: Symbol not found: _vio_blocking Is these a workaround for this? |
Use the mysql2 gem. |
People would if mysql2 supported prepared statements. |
I have the same problem on OS X Mavericks, using MySQL 5.6.13 and Ruby 2.0. Very annoying. :-( |
For OS X users who run into this problem: if you don't depend on using the very latest MySQL version, you can switch back to older version; for me, 5.5.27 worked well. If you're using homebrew, this Stack Overflow answer shows you how to switch back to such a version. Of course, that's just a temporary workaround, but perhaps it helps someone. |
When compiled on Fedora 14 under Ruby 1.9 (p180 and p290) it will throw an exception that looks like this:
What's unusual is that
vio_blocking
is actually not a function but a macro expressed as a#define
in MySQL in violite.h.The relevant part of
mysql.c
has this:You can see
violite.h
is specifically commented out and appears to be the source of this problem. It's not clear why this works on OS X but not Linux.The text was updated successfully, but these errors were encountered: