Jump to content
  • 0

MySQL not found or incompatible


Latheesan

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   53
  • Joined:  11/27/11
  • Last Seen:  

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
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

MySQL 5.5? from experimental distribution?

Try 5.1 stable package.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   53
  • Joined:  11/27/11
  • Last Seen:  

MySQL 5.5 from DotDeb repo (I don't think it's the experimental build) - http://www.dotdeb.or...9/mysql-5-5-19/

Edited by Latheesan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   53
  • Joined:  11/27/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   53
  • Joined:  11/27/11
  • Last Seen:  

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
Link to comment
Share on other sites

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.

×
×
  • Create New...