I'm running WAMP ( and I got Ruby to run by adding .rb as a perl extension and including the ruby path in the top of my script.
I have been unable to get the mysql function to work. Has anyone had any luck running the "gem install mysql" command? I get the following error. The doc in the install path says "% env LD_RUN_PATH=libmysqlclient.so directory make" but I don't really get it.
ruby extconf.rb install mysql
checking for mysql_query() in mysqlclient.lib... no
checking for main() in m.lib... yes
checking for mysql_query() in mysqlclient.lib... no
checking for main() in z.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in socket.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in nsl.lib... no
checking for mysql_query() in mysqlclient.lib... no
I have been unable to get the mysql function to work. Has anyone had any luck running the "gem install mysql" command? I get the following error. The doc in the install path says "% env LD_RUN_PATH=libmysqlclient.so directory make" but I don't really get it.
ruby extconf.rb install mysql
checking for mysql_query() in mysqlclient.lib... no
checking for main() in m.lib... yes
checking for mysql_query() in mysqlclient.lib... no
checking for main() in z.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in socket.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in nsl.lib... no
checking for mysql_query() in mysqlclient.lib... no