Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
-none-

-none-

2007-09-09       - By Valentine Rozental

 Back
I've installed MySQL on my Kubuntu by running:
$sudo apt-get install mysql

mysql version is:
mysql  Ver 14.12 Distrib 5.0.38, for pc-linux-gnu (i486) using readline 5.2

I got also MySQL++ sources and ran ./configure script.

1. the first problem was that in the /usr/lib directory were follow
symlinks:

lrwxrwxrwx 1 root root      26 2007-09-05 22:01 libmysqlclient_r.so.15 ->
libmysqlclient_r.so.15.0.0
-rw-r--r-- 1 root root 1973044 2007-04-03 14:09 libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root      24 2007-09-05 22:01 libmysqlclient.so.15 ->
libmysqlclient.so.15.0.0
-rw-r--r-- 1 root root 1964756 2007-04-03 14:09 libmysqlclient.so.15.0.0

and ./configure couldn't find the mysqlclient library. I've fixed it by
adding follow links in the /usr/lib

lrwxrwxrwx 1 root root      26 2007-09-09 10:32 libmysqlclient_r.so ->
libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root      24 2007-09-09 10:31 libmysqlclient.so ->
libmysqlclient.so.15.0.0

The question: is it OK to fix it by this way?

2. the second problem during ./configure run is:

checking for MySQL include directory... configure: error: Didn't find the
MySQL include dir in '/usr/include/mysql /usr/local/include/mysql
/usr/local/mysql/include/mysql /opt/mysql/include/mysql'

I searched for mysql.h to locate mysql include directory, but did't find
nothing.

The question: how to get MySQL include files into my machine?

Thank you in advance.