Jump to content
  • 0

MySQL not found or incompatible


Question

Posted (edited)

Hi,

First of all, sorry if I posted this in the wrong section.

I am trying to install rAthena on Debian 6.0 (x86) with MySQL 5.5.

All the necessary libraries are already installed with :

apt-get install subversion make gcc libmysqlclient-dev zlib1g-dev libpcre3-dev

When I run ./configure I get the following error :

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

Any idea what's wrong?

I've also tried the following combination :

./configure --with-mysql

and

./configure --with-mysql=/usr/bin/mysql_config

no luck so far ...

Edited by Latheesan

6 answers to this question

Recommended Posts

  • 1
Posted

Please check config.log. I installed mysql-server-5.5 and libmysqlclient-dev (libmysqlclient18) from Dotdeb repo and got the same error. In my case reason was:

/usr/bin/ld: cannot find -lssl

Solution to this is of course

apt-get install libssl-dev

Posted (edited)

Thanks for that link, but I am already aware of of the stock mysql 5.1 server.

I've installed the DotDeb repo to get MySQL 5.5 because I wanted this package (instead of the old 5.1) for the imroved InnoDB storage engine.

I managed to installed nginx and PHP 5.3.9 (FPM - FastCGI) and MySQL 5.5 and phpMyAdmin and everything seems to be working.

Last I checked, MySQL 5.5 came out of "experimental" stange long time ago, is it not production ready now? Lots of people use it and we use it at work.

Is the issue with rAthena not compatible with MySQL 5.5? I don't get it, all it is is just a new version, at the end of the day it's still a fully working MySQL server and all the necessary mysql development libraries are installed...

I raised the question here, because I thought the problem was with the configure script not detecting my installed mysql.

--

Reference : http://dev.mysql.com/doc/refman/5.5/en/faqs-general.html#qandaitem-B-1-1-1

Edited by Latheesan
Posted (edited)

Thanks allot Gepard, your AWESOME!

I'll try it out when I get home and update this post.

---

Okay, I tried to configure the server after installing libssl-dev and it seems to have done the trick :D

no more errors.

Thanks again Gepard

Edited by Latheesan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...