LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-01-2010, 02:07 PM   #1
waqasdaar
Member
 
Registered: Jan 2009
Location: Stockholm Sweden
Distribution: Ubuntu 9.10
Posts: 57

Rep: Reputation: 15
Unhappy libmysqlclient error on Ubuntu 9.10


I am currently using Ubuntu 9.10. I am writing a small code in C which test the connectivity with MYSQL. I am getting this error.

"libmysqlclient.so.14: cannot open shared object file: No such file or directory"

What I understand is that you need MYSQL development package in order to access MYSQL database in C. I installed MYSQL using this command.

apt-get install mysql-server mysql-client

If I miss something then please tell me.
 
Old 04-01-2010, 02:12 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Yes, you need the Mysql development package:
Quote:
sudo apt-get install libmysqlclient-dev
This link might also help:
http://ubuntuforums.org/archive/inde...t-1273885.html

Last edited by paulsm4; 04-01-2010 at 02:14 PM.
 
Old 04-01-2010, 02:26 PM   #3
waqasdaar
Member
 
Registered: Jan 2009
Location: Stockholm Sweden
Distribution: Ubuntu 9.10
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks a lot.
 
  


Reply

Tags
ubuntu



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
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 error when running a php script rose_bud4201 Linux - Software 2 06-03-2005 01:43 PM
libmysqlclient.so.10 Tredo Linux - General 1 11-30-2004 01:05 PM
libmysqlclient.so.10()(64bit) not found; is there though PhilipMac Linux - General 3 09-23-2004 01:17 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:37 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