LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-09-2013, 10:33 AM   #1
sujeeva
LQ Newbie
 
Registered: Jan 2013
Posts: 6

Rep: Reputation: Disabled
Install libmysqlclient.a


Hi,

I installed mysql-devel using yum but don't see the static library libmysqlclient.a.

$ uname -a
Linux host.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Tue Aug 14 11:36:39 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

$ locate libmysqlclient
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient.so.16
/usr/lib64/mysql/libmysqlclient.so.16.0.0
/usr/lib64/mysql/libmysqlclient_r.so
/usr/lib64/mysql/libmysqlclient_r.so.16
/usr/lib64/mysql/libmysqlclient_r.so.16.0.0

Please advise on how I could get libmysqlclient.a installed.

Thanks,

Sujeeva
 
Old 01-09-2013, 10:56 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,185

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Welcome to LQ.

CentOS Forum https://www.centos.org/modules/newbb...topic_id=33901
"It appears that the the static libraries are no longer built. ... "


Unless you are building a static application,
a "cheat libmysqlclient.a" may work :

cd /usr/lib64/mysql/
# ln -s libmysqlclient.so.16.0.0 libmysqlclient.a


-
 
1 members found this post helpful.
Old 02-20-2013, 02:08 PM   #3
sujeeva
LQ Newbie
 
Registered: Jan 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for the quick response. Dynamically linking the libraries worked.
 
  


Reply


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Snort installation (libmysqlclient-dev libmysqlclient dependencies)? Amerika Ubuntu 1 08-15-2012 07:58 PM
error in libmysqlclient.so yogeshk@redim.net Linux - Software 1 01-08-2007 10:17 PM
mysql and libmysqlclient.so.10 tolindsey Linux - General 6 01-19-2006 05:06 PM
libmysqlclient.so.10 Tredo Linux - General 1 11-30-2004 01:05 PM
libmysqlclient.so.10()(64bit) not found PhilipMac Linux - Software 5 11-02-2004 05:48 PM


All times are GMT -5. The time now is 01:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration