Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005
    Posts
    7

    Unanswered: How to upgrade libmysqlclient from v10 to v14

    Hi.

    Working on Linux Fedora Core 2.

    I'm programming an application which requires version 14 of the MySQL Client
    libraries. Now I've got version 10:
    ---------------
    [root@pc]# mysql_config --libs
    -L'/usr/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm

    [root@pc]# locate mysqlclient
    /usr/src/mysql-3.23.58/libmysql/.libs/libmysqlclient.so
    /usr/src/mysql-3.23.58/libmysql/.libs/libmysqlclient.a
    /usr/src/mysql-3.23.58/libmysql/.libs/libmysqlclient.so.10
    /usr/src/mysql-3.23.58/libmysql/.libs/libmysqlclient.so.10.0.0
    /usr/src/mysql-3.23.58/libmysql/.libs/libmysqlclient.lai
    /usr/src/mysql-3.23.58/libmysql/.libs/libmysqlclient.la
    /usr/src/mysql-3.23.58/libmysql/libmysqlclient.la
    /usr/local/mysql/lib/mysql/libmysqlclient.la
    /usr/local/mysql/lib/mysql/libmysqlclient.so.10.0.0
    /usr/local/mysql/lib/mysql/libmysqlclient.so
    /usr/local/mysql/lib/mysql/libmysqlclient.a
    /usr/local/mysql/lib/mysql/libmysqlclient.so.10
    -------------------

    So, I downloaded 'MySQL-client-4.1.14-0.i386.rpm' and installed it:
    [root@pc]# rpm -Uvh --force MySQL-client-4.1.14-0.i386.rpm

    However, I don't find 'libmysqlclient.so.14'
    -----------
    [root@pc]# ll /usr/lib/mysql/
    total 1816
    -rw-r--r-- 1 root root 10784 Apr 3 06:16 libdbug.a
    -rw-r--r-- 1 root root 33840 Apr 3 06:16 libheap.a
    -rw-r--r-- 1 root root 14410 Apr 3 06:16 libmerge.a
    -rw-r--r-- 1 root root 238224 Apr 3 06:16 libmyisam.a
    -rw-r--r-- 1 root root 22056 Apr 3 06:16 libmyisammrg.a
    -rw-r--r-- 1 root root 295278 Apr 3 06:16 libmysqlclient.a
    -rw-r--r-- 1 root root 300568 Apr 3 06:16 libmysqlclient_r.a
    lrwxrwxrwx 1 root root 26 Apr 27 13:33 libmysqlclient_r.so ->
    libmysqlclient_r.so.10.0.0
    lrwxrwxrwx 1 root root 26 Apr 27 13:33 libmysqlclient_r.so.10 ->
    libmysqlclient_r.so.10.0.0
    -rwxr-xr-x 1 root root 215352 Apr 3 06:16 libmysqlclient_r.so.10.0.0
    lrwxrwxrwx 1 root root 24 Apr 27 13:33 libmysqlclient.so ->
    libmysqlclient.so.10.0.0
    lrwxrwxrwx 1 root root 24 Apr 27 13:33 libmysqlclient.so.10 ->
    libmysqlclient.so.10.0.0
    -rwxr-xr-x 1 root root 213356 Apr 3 06:16 libmysqlclient.so.10.0.0
    -rw-r--r-- 1 root root 143510 Apr 3 06:16 libmystrings.a
    -rw-r--r-- 1 root root 187886 Apr 3 06:16 libmysys.a
    -rw-r--r-- 1 root root 104992 Apr 3 06:16 libnisam.a
    -rwxr-xr-x 1 root root 10682 Apr 3 06:16 mysqlbug
    -rwxr-xr-x 1 root root 3059 Apr 3 06:16 mysql_config

    [root@pc /]# find . -name "*libmysqlclient.so.14*"
    (empty)
    [root@pc /]#

    [root@pc]# /sbin/ldconfig -v | grep libmysqlclient
    libmysqlclient.so.10 -> libmysqlclient.so.10.0.0
    libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0
    libmysqlclient.so.10 -> libmysqlclient.so.10.0.0
    --------------------

    Could anybody tell me please what I am doing wrong? When I find it,
    must I perform a soft link to these libraries from '/usr/lib/mysql/'?.

    Thank you very much.

  2. #2
    Join Date
    Mar 2005
    Posts
    7
    The package is 'MySQL-shared-compat-4.1.13-0.i386.rpm' instead of 'MySQL-4.1.13-0.i386.rpm'.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •