LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-12-2011, 11:19 AM   #1
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
configure:error: Cannot find libmysqlclient under /usr. Note MySQL client isnotbunled


HI
while installing php im getting follwoing error

configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore!

./configure --with-apxs2=/usr/sbin/apxs --with-config-file-path=/etc/httpd/conf/php.conf --with-zlib --with-mysqli=/usr/bin/mysql_config --enable-mbstring --with-mime-magic --with-mysql --with-libdir=lib64

i had configured my mysql its working fine still im get ride of these problem

mysql –u root -p
use mysql;
CREATE USER 'root'@'58.68.21.67' IDENTIFIED BY 'ecare2@';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
Quit MySQL
\q
service mysqld restart


[root@localhost ~]# whereis mysql
mysql: /usr/bin/mysql /usr/lib/mysql /usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz

Last edited by jsaravana87; 08-12-2011 at 03:28 PM.
 
Old 08-12-2011, 02:38 PM   #2
lrtward
Member
 
Registered: Feb 2011
Distribution: CentOS, Ubuntu
Posts: 97

Rep: Reputation: 9
This is probably a dumb question but... do you have MySQL installed?
 
Old 08-12-2011, 04:39 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
Cannot find libmysqlclient
libmysqlclient = libmysqlclient.so :

# yum install mysql-devel

→ /usr/lib/mysql/libmysqlclient.so
 
  


Reply



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
php5 ./configure error: Cannot find MySQL header files ldp Linux - Software 29 05-15-2018 04:30 PM
php configure: cannot find libmysqlclient neocontrol Linux - Server 10 11-27-2015 06:48 AM
configure error: configure: error: cannot execute: /usr/local/bin/arm-apple-darwin-ld GunNam Linux - General 0 10-24-2008 08:26 PM
MySQL setup stops at command "./configure --prefix=/usr/local/mysql" k41184 Linux - Software 1 05-20-2004 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:45 AM.

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