Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-05-2007, 10:16 AM
|
#1
|
LQ Newbie
Registered: Apr 2007
Posts: 29
Rep:
|
Could anybody please tell how to install [B]mysqlclient.a[/B] library in [B]/usr/lib.
Hi,
Could anybody please tell how to install mysqlclient.a library in /usr/lib.
When I installed mysql client package from ubuntu, in /usr/lib it shows as libmysqlclient.a , but what I need is mysqlclient.a library.
vamsi.
|
|
|
04-05-2007, 11:14 AM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
Try adding the MySQL-devel package.
|
|
|
04-05-2007, 11:32 AM
|
#3
|
LQ Newbie
Registered: Apr 2007
Posts: 29
Original Poster
Rep:
|
installing mysqlclient.a
Hi,
thanks for ur help.
Could you tell me in detail how to install mysqlclient.a library as I am new to linux.
vamsi.
|
|
|
04-05-2007, 12:04 PM
|
#4
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
Quote:
Originally Posted by krisvamc
Hi,
thanks for ur help.
Could you tell me in detail how to install mysqlclient.a library as I am new to linux.
vamsi.
|
You need to install the packaged named libmysql-devel
I think you type something like: sudo apt-get install libmysql-devel
|
|
|
04-05-2007, 12:27 PM
|
#5
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
Why do you need a file named mysqlclient.a? Are you trying to satisfy another package's dependency?
Generally libraries begin with lib and libmysqlclient is no different. If you build MySQL from source, you will get libmysqlclient.a because that is the "proper" name for this library.
|
|
|
04-05-2007, 05:34 PM
|
#6
|
LQ Newbie
Registered: Apr 2007
Posts: 29
Original Poster
Rep:
|
Installing mysqlclient.a
Hi,
Actually I am installing MCS (Multicast Control Server) source code in my system. It depends on MySQL database and I have to install
1) MySQL-server
2) MySySQL-client
and after installing I should have mysqlclient.a library under /usr/lib.
But after installing both server and client packages from synaptic packet manager I got libmysqlclient.a library under /usr/lib.
Are libmysqlclient.a and mysqlclient.a same or not?
vamsi.
thanks for your reply.
|
|
|
04-05-2007, 09:12 PM
|
#7
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
Quote:
Originally Posted by krisvamc
after installing I should have mysqlclient.a library under /usr/lib.
|
Where does it say that the file should be named mysqlclient.a?
Quote:
Originally Posted by krisvamc
Are libmysqlclient.a and mysqlclient.a same or not?
|
Yes.
|
|
|
04-06-2007, 05:35 AM
|
#8
|
LQ Newbie
Registered: Apr 2007
Posts: 29
Original Poster
Rep:
|
mysqlclient.a
Hi,
In my MCC document it tells mysqlclient.a should be under /usr/lib.
vamsi.
|
|
|
All times are GMT -5. The time now is 10:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|