[odb-users] [ODB] About the issue about installing libodb-mysql-1.1.0

Myoungkyu Song mksong at vt.edu
Mon Jan 31 19:33:57 EST 2011


Hello, Boris

While installing 'libodb-mysql-1.1.0', I got some problem; it was
unable to find 'libmysqlclient_r'.
I installed MySQL which is the version, 'Ver 14.12 Distrib 5.0.51a'.
Here is my information I am using.
--------------------------------------------------------------------------------
$ dpkg -l | grep mysql
ii  libdbd-mysql-perl                          4.005-1
       A Perl5 database interface to the MySQL data
ii  libmysqlclient15off                        5.0.51a-3ubuntu5.8
       MySQL database client library
ii  mysql-client-5.0                           5.0.51a-3ubuntu5.8
       MySQL database client binaries
ii  mysql-common                               5.0.51a-3ubuntu5.8
       MySQL database common files
ii  mysql-server                               5.0.51a-3ubuntu5.8
       MySQL database server (meta package dependin
ii  mysql-server-5.0                           5.0.51a-3ubuntu5.8
       MySQL database server binaries
$
$ ldconfig -p | grep mysql
libmysqlclient_r.so.15 (libc6,x86-64) => /usr/lib/libmysqlclient_r.so.15
libmysqlclient.so.15 (libc6,x86-64) => /usr/lib/libmysqlclient.so.15
$
$ ls -la /usr/lib/*mysql*
lrwxrwxrwx 1 root root      26 2011-01-31 19:04
/usr/lib/libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
-rw-r--r-- 1 root root 2113216 2010-11-10 00:08
/usr/lib/libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root      24 2011-01-31 19:04
/usr/lib/libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
-rw-r--r-- 1 root root 2104672 2010-11-10 00:08
/usr/lib/libmysqlclient.so.15.0.0
$
$ cat /etc/issue
Ubuntu 8.04.4 LTS \n \l
--------------------------------------------------------------------------------
#1) I downloaded 'mysql-connector-c-6.0.1-linux-glibc2.3-x86-64bit'
and extracted the archived file to my local path.
#2) I carried out the following three command, respectively, each of
which was not working.
$
$./configure CPPFLAGS="-I/home/mksong/mysql_install_file/mysql-connector-c-6.0.1-linux-glibc2.3-x86-64bit/include"
LDFLAGS="-L/home/mksong/mysql_install_file/mysql-connector-c-6.0.1-linux-glibc2.3-x86-64bit/lib"
...
...
checking for libmysqlclient_r... no
configure: error: libmysqlclient_r is not found; consider using
CPPFLAGS/LDFLAGS to specify its location
$
$ ./configure CPPFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib"
$
$ ./configure
$
--------------------------------------------------------------------------------

Could you give me some comments about that?
Best regards,
Myoungkyu Song



More information about the odb-users mailing list