I got the following errors.
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
Googling around I found a post with the answer..
$ sudo gem install mysql -- --with-mysql-configThis worked great.
I have no idea what the error messages meant, or why this fixes it, so I thought I should share it or risk forgetting it :)
Anyone care to enlighten me?
No comments:
Post a Comment