How to install mysql dev library

Asked by pallavsengupta

I have installed mysql as per the documentation available in Ubuntu documentaion, but while compiling ndo utility i am getting error
*** MySQL include file could not be located... **********************

You chose to compile NDBXT with MySQL support, but I was unable to
locate <mysql/mysql.h> on your system. If the include file is
installed, use the --with-mysql-inc argument to specify the location
of the MySQL include file.

********************************************************************

I cant find this file .I also tried using command # ./configure --with-mysql-lib=/usr/bin/mysql but didn't help.
Also I suppose that mysql development library is not installed , So how to install that ?
If someone has anyother solution pls help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benoit Malet (benoit-malet) said :
#1

Hello !

You can install it via Synaptic, exactly the same way I told you for Perl ...

The --with-mysql-lib=... statement should point to the location of the library, not the binary ... But what's missing here is the include header ... (--with-mysql-inc)

What's this NDO utility you're trying to install ? (for my personal knowledge : I don't know this utility and I'm not sure about the Google results I got)

Regards,
Benoît

Can you help with this problem?

Provide an answer of your own, or ask pallavsengupta for more information if necessary.

To post a message you must log in.