MySqlTalk.com  

Go Back   MySqlTalk.com > MySQL > General
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread
Old 09-29-2005, 05:29 AM   #1
guarriman
Junior Member
 
Join Date: Sep 2005
Posts: 3 guarriman is on a distinguished road
How to update 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.
guarriman is offline   Fork this post Reply With Quote
Old 09-29-2005, 07:23 AM   #2
Azkaban
Senior Member
 
Join Date: Jul 2004
Posts: 167 Azkaban is on a distinguished road
Re: How to update libmysqlclient from v10 to v14

You've exceeded my expertize, but this might help you, seems like a similar problem
http://bugs.mysql.com/bug.php?id=7401
Azkaban is offline   Fork this post Reply With Quote
Old 09-29-2005, 11:50 AM   #3
guarriman
Junior Member
 
Join Date: Sep 2005
Posts: 3 guarriman is on a distinguished road
Re: How to update libmysqlclient from v10 to v14

Thank you, Azkaban

The package is 'MySQL-shared-compat-4.1.13-0.i386.rpm' instead of 'MySQL-4.1.13-0.i386.rpm'.
guarriman is offline   Fork this post Reply With Quote
Old 09-29-2005, 09:10 PM   #4
Azkaban
Senior Member
 
Join Date: Jul 2004
Posts: 167 Azkaban is on a distinguished road
Re: How to update libmysqlclient from v10 to v14

__________________
** Most misspellings intentional to combat spaham filterz**
Azkaban is offline   Fork this post Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get values after UPDATE command Antartican SQL syntax 1 01-08-2005 03:56 AM
Newbie Update Problem Clive Sanders SQL syntax 1 12-11-2004 03:17 AM
2 Installing MySQL Administrator Documentation 103 06-09-2004 02:53 AM
1.8 MySQL Standards Compliance Administrator Documentation 21 06-08-2004 03:18 AM
1.6.4 New Features Planned for the Near Future Administrator Documentation 0 06-08-2004 02:47 AM



All times are GMT -4. The time now is 07:51 PM.



Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Google
  Web http://www.mysqltalk.com
DISCLAIMERS:
1. We have no commercial interest in this site.
Banner Ads and Subscriptions will only be used to help pay for hosting and maintenance costs.
2. MySQLTalk.com is NOT affiliated with MySQL AB in any way.
3. MySQLTalk.com is NOT endorsed by MySQL AB in any way.
4. Please do not post any content that is harmful to MySQL or MySQL AB, meaning no misleading or obsolete information will be tolerated.
Well-founded constructive criticism meant to help the community is permitted.
5. This website is founded with the goal of improving the MySQL community.
We not only tolerate newbies, we encourage them.
Please do not ask newbies to "read the manual".