no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock configure: error: Cannot find libmysqlclient under /usr. ie, When PHP is configured using --with-mysql=/usr/local/mysql and --with-libdir=lib64, it should search for /usr/local/mysql/lib64, since there is no such directory there encountered an error in PHP compile. Maybe my feelings were a little hurt, but there's no excuse for the rudeness this bug reviewer showed. There are 6 Comments. Check This Out
Tiyogi Linux - Software 4 05-04-2004 08:24 AM Can't find php configure NW Otter Linux - Software 1 09-24-2003 01:33 AM All times are GMT -5. no configure: error: Cannot find libmysqlclient under /usr. Quote: ./configure --with-mysql=/usr/bin/ --with-libdir=lib64 Hope that helps! US Election results 2016: What went wrong with prediction models? http://stackoverflow.com/questions/11134220/cannot-find-libmysqlclient-under-usr-while-build-php-5-2-from-source-on-ubuntu
Options to Add: bash --with-mysql=/usr/bin/ --with-libdir=lib64 So my PHP configure script after adding these options now looked like the below which resolve the compile error. [email protected] View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by [email protected] 11-17-2009, 05:52 AM #4 augustofagioli LQ Newbie Registered: Nov 2009 Posts: Join them; it only takes a minute: Sign up Cannot find libmysqlclient under /usr. Score:3.9 ± 1.1 Reproduced:7 of 8 (87.5%) Same Version:4 (57.1%) Same OS:6 (85.7%) From: chris at spawnordie dot com Assigned: mysql Status: Wont fix Package: MySQL related PHP Version: 5.3.2 OS:
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Maybe he/she didn't get hugged as a child and is displaying a superiority complex to cover up low self-esteem and fear of being hurt. thanks for pointing out. Checking For Specified Location Of The Mysql Unix Socket... No Hint: Don't try building Mysql yourself if you don't know how to do it properly.
Please check your c-client installation. [emailprotected]:/usr/local/src/php5-build/php-5.3.22# ) Configure and build PHP 5.3.22 as follows (you can adjust the ./configure command to your needs, take a look at ./configure --help to see Libmysqlclient_r It is still a bug in PHP. yes configure: error: Cannot find imap library (libc-client.a). http://www.linuxquestions.org/questions/linux-server-73/php-configure-cannot-find-libmysqlclient-582944/ yes
checking for specified location of the MySQL UNIX socket...
Thanks. Note That The Mysql Client Library Is Not Bundled Anymore! no checking for MySQL UNIX socket location... I had managed to have php5.2 and php5.3 on ubuntu 11.10 –farzam Jun 21 '12 at 9:10 2 @fkniya: You should not care about a single downvote too much. Note that the MySQL client library is not bundled anymore!
This is really an annoying issue, as I run into this every time, and I continue to have to come up with different solutions. http://serverfault.com/questions/68657/cannot-find-libmysqlclient-when-compiling-php5-on-dreamhost Thanks! Cannot Find Mysql Header Files Under I think it's important that you take care that question and answer are of general use, e.g. Php Cannot Find Libmysqlclient_r e.g.
asked 7 years ago viewed 5717 times active 1 year ago Related 0Compiling PHP 5.1.6 with PDO MySQL2Best Practices for installing PHP5 and MySQL5 on Red Hat Enterprise Linux 40Compiling PHP http://amigasuperbit.com/cannot-find/php-configure-cannot-find-libmysqlclient.html Set php extension directory path in ‘/etc/php.ini' to "/usr/lib64/php/modules" extension_dir = "/usr/lib64/php/modules" Then restart the web server to get it run. Stay logged in Sign up now! Are there still systems around with a /bin/sh binary? Configure Error Cannot Find Mysql Header Files Under Usr Bin
It's not our fault if they do things wrong. [2010-03-25 18:32 UTC] michael at michaelsnet dot us IMHO this is a documentation bug. no configure: error: Cannot find libmysqlclient under /usr/local/mysql. Solution You have to include "-with-libdir=lib64″ in config. http://amigasuperbit.com/cannot-find/phpfarm-configure-error-cannot-find-libmysqlclient-under-usr.html Two hours of trying to get this to configure, and your suggestion saved me.
Note that the MySQL client library is not bundled anymore! Install Libmysqlclient So I'm planning to install PHP manually after remove all the php package using yum. when I copied and pasted it into a terminal window, the "--" got converted to a Unicode long hyphen.
PhpMyAdmin was crashed once after I up-graded the MySQL. And last but not least: report this to MySQL. Wrong way on a bike lane? Configure: Error: Cannot Find Openssl's Libraries alex Reply Artorios Rex 2:28 AM March 5, 2011 Sorry, Alex.
Code: ldconfig -v |grep mysql libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0 libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0 libmysqlclient.so.10 -> libmysqlclient.so.10.0.0 libmysqlclient.so.15 -> libmysqlclient.so.15.0.0 libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0 libmysqlclient.so.14 -> libmysqlclient.so.14.0.0 libmysqlclient_r.so.12 -> libmysqlclient_r.so.12.0.0 libmysqlclient.so.12 -> libmysqlclient.so.12.0.0 Need anything Thanks! php mysql ubuntu libmysql share|improve this question asked Sep 9 '14 at 15:38 inimrepus 3427 as I recall, the mysql stuff is wonky, and you have to point configure navigate here Any Idea how to resolve this?
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. How to help configure find it? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Note that the MySQL client library is not bundled anymore!
Download the source file from php.net and installing. Anyhow the article needed to be updated so for pointing it out the first time we appreciate the note. Here's the output of ldconfig which only has one /usr listed. Absolute values of complex irreducible characters of finite groups How much time would it take for a planet scale Miller-Urey experiment to generate intelligent life Straight line equation Why is Professor
my question is not about which version is supported. I only added: --with-libdir=lib64 This helped me! Join them; it only takes a minute: Sign up Setting up a server and can't find libmysqlclient under /usr up vote 1 down vote favorite I am currently setting up a The following additional actions to be done for proper installation on 64 bit platform. 1.
Password Linux - Server This forum is for the discussion of Linux Software used in a server related context. It worked for me too. The article has been updated. Despite being told by the configuration option --with-libdir=lib64 to use lib64/ it still chooses to use lib/ and fails to find the necessary files to continue with the ./configure.