Technology Errors

conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)

When installing the mysql ruby gem you may run across the above error in the log file. If so you need to add some configuration switches to the gem install command as shown below. Install Command for CentOS 64 Bit Server: bash [root@server ~]# env ARCHFLAGS="-arch x86_64" gem install mysql — –with-mysql-config=/usr/lib64/mysql/mysql_config -with-mysql-dir=/var/lib/mysql

Details