I am trying to compile rAthena on CentOS 7 64-Bit OS; but I want to use MariaDB 10.1 (instead of MySQL, since it's a fork and should work the same).
When I run the ./configure --enable-64bit command, I see the following error:
...checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (required)... no
configure: error: MySQL not found or incompatible
Prior to starting the installation, I have made sure the following packages are installed: yum install -y mysql-devel pcre-devel zlib-devel;
[root@server host]# yum install -y mysql-devel pcre-devel zlib-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sov.uk.goscomb.net
* epel: mirrors.coreix.net
* extras: centos.serverspace.co.uk
* remi-safe: remi.check-update.co.uk
* updates: repo.bigstepcloud.com
Package MariaDB-devel-10.1.10-1.el7.centos.x86_64 already installed and latest version
Package pcre-devel-8.32-15.el7.x86_64 already installed and latest version
Package zlib-devel-1.2.7-15.el7.x86_64 already installed and latest version
Nothing to do
I checked the /usr/lib64/ folder and I can see the libmysqlclient dev binaries:
[root@server host]# ls /usr/lib64/ | grep mysql
libmysqlclient.a
libmysqlclient_r.a
libmysqlclient_r.so
libmysqlclient_r.so.18
libmysqlclient_r.so.18.0.0
libmysqlclient.so
libmysqlclient.so.18
libmysqlclient.so.18.0.0
libmysqld.a
libmysqld.so
libmysqld.so.18
libmysqlservices.a
So, I tried to configure the installation like this: ./configure --enable-64bit --with-MYSQL_LIBS=/usr/lib64
However, this too did not work. Any ideas what I might be doing wrong? Is MariaDB not supported with rAthena?
This is how I installed MariaDB 10.1 on my CentOS 7 (x64):
Question
Latheesan
I am trying to compile rAthena on CentOS 7 64-Bit OS; but I want to use MariaDB 10.1 (instead of MySQL, since it's a fork and should work the same).
When I run the ./configure --enable-64bit command, I see the following error:
Prior to starting the installation, I have made sure the following packages are installed: yum install -y mysql-devel pcre-devel zlib-devel;
I checked the /usr/lib64/ folder and I can see the libmysqlclient dev binaries:
So, I tried to configure the installation like this: ./configure --enable-64bit --with-MYSQL_LIBS=/usr/lib64
UPDATE:
Sorry, posted this question too soon. This has fixed my issue:
Edited by Latheesan5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.