Closed mcandre closed 11 years ago
@mcandre do you have mysql client library installed in your system? seems mkmf can't find it:
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
Either you install it with brew
or macports, whatever you're using to install dependencies.
@luislavena Good point. Which Homebrew package would that be?
@mcandre no idea, I'm not a homebrew user, perhaps mysql-connector-c
formula?
@luislavena brew install mysql-connector-c
fixes it on my machine!
When I try to build mysql-gem in Mac, I get
Could not create Makefile due to some reason
.Trace:
System: