LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Closed Thread
  Search this Thread
Old 04-05-2007, 10:16 AM   #1
krisvamc
LQ Newbie
 
Registered: Apr 2007
Posts: 29

Rep: Reputation: 15
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.
 
Old 04-05-2007, 11:14 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Try adding the MySQL-devel package.
 
Old 04-05-2007, 11:32 AM   #3
krisvamc
LQ Newbie
 
Registered: Apr 2007
Posts: 29

Original Poster
Rep: Reputation: 15
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.
 
Old 04-05-2007, 12:04 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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
 
Old 04-05-2007, 12:27 PM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 04-05-2007, 05:34 PM   #6
krisvamc
LQ Newbie
 
Registered: Apr 2007
Posts: 29

Original Poster
Rep: Reputation: 15
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.
 
Old 04-05-2007, 09:12 PM   #7
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 04-06-2007, 05:35 AM   #8
krisvamc
LQ Newbie
 
Registered: Apr 2007
Posts: 29

Original Poster
Rep: Reputation: 15
mysqlclient.a

Hi,

In my MCC document it tells mysqlclient.a should be under /usr/lib.


vamsi.
 
  


Closed Thread


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
oops, I stripped /usr/lib and /usr/X11R6/lib ! H_TeXMeX_H Slackware 2 02-08-2007 09:27 PM
audacity unable to locate required lib files present in /usr/lib/ adityavpratap Slackware 4 11-30-2006 06:06 AM
Unable to load dynamic library '/usr/lib/php4/20050606/gd.so' sYs^ Debian 0 04-22-2006 11:39 AM
Debian install error /usr/lib/debootstrap/pkgdetails GT_Onizuka Debian 0 11-01-2005 01:11 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration