while build PHP 5.2 from source on Ubuntu 12.4117error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'1ln: /usr/lib/libmysqlclient.18.dylib: File exists4EnvironmentError: mysql_config not found0Cannot find libmysqlclient under /usr0libmysqlclient on Android Registration at Web Hosting Talk is completely free and takes only a few seconds. 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. Edit : then try to run your original compile line (not the one from Sam). http://birdsallgraphics.com/cannot-find/error-cannot-find-libmysqlclient-r.php
neocontrol View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by neocontrol 09-07-2007, 02:56 PM #2 trickykid LQ Guru Registered: Jan 2001 Posts: I only added: --with-libdir=lib64 This helped me! add some more general information so it's clear how you solved the error message. –hakre Jun 21 '12 at 9:24 | show 5 more comments 2 Answers 2 active oldest votes Many thanks. http://stackoverflow.com/questions/11134220/cannot-find-libmysqlclient-under-usr-while-build-php-5-2-from-source-on-ubuntu
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. To start viewing messages, select the forum that you want to visit from the selection below. I've also tried specifying the MySQL directory, to no success. Note that the MySQL client library is not bundled anymore! Проверяем где находятся библиотеки mysql: # ldconfig -v |grep mysql libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0 libmysqlclient.so.18 -> libmysqlclient_r.so.18.0.0 libmysqlclient.so.15 -> libmysqlclient.so.15.0.0 libmysqlclient.so.16 ->
Registration is quick, simple and absolutely free. LinuxQuestions.org > Forums > Linux Forums > Linux - Server php configure: cannot find libmysqlclient User Name Remember Me? This time, I'm stuck. Mysqlnd Can 'it' be used to refer to a person?
trickykid View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by trickykid 02-03-2009, 12:43 AM #3 [email protected] LQ Newbie Registered: Feb 2009 Posts: Configure Error Cannot Find Libmysqlclient Under Usr Local Mysql PHP 5.3.22) - this PHP version will be listed under this name in the website settings in ISPConfig: Go to the FastCGI Settings tab (the PHP-FPM Settings tab can be left You are currently viewing LQ as a guest. http://www.linuxquestions.org/questions/linux-server-73/php-configure-cannot-find-libmysqlclient-582944/ Note that the MySQL client library is not bundled anymore!
So the fix for the "mysql: Cannot find libmysqlclient under /usr" error message is to provide lib64 directory path in the configure line. But actually I find that /usr/lib64/lib64/libmysqlclient.so.15.0.0 exists. Configure Error Cannot Find Libmysqlclient Under /usr Centos Note that the MySQL client library is not bundled anymore! --- Then I saw that libmysql client was in /usr/lib64/ instead of /usr/lib/. Note That The Mysql Client Library Is Not Bundled Anymore! If anyone needs me to run anymore commands (i.e.
Is there a place in academia for someone who compulsively solves every problem on their own? check over here Note that the MySQL client library is not bundled anymore! So that command... Syntax Design - Why use parentheses when no arguments are passed? Cannot Find Mysql Header Files Under
yes configure: error: Cannot find imap library (libc-client.a). Why is the TIE fighter tethered in Force Awakens? yes checking for libmcrypt version... >= 2.5.6 checking for mcrypt_module_open in -lmcrypt... his comment is here Is my teaching attitude wrong?
How can I list two concurrent careers, one full time and one freelance, on a CV? How to install ClamAV antivirus on Linux / cPanel? I added this to my build script in order to create the missing symbolic links: cd /usr/local/mysql/lib for f in libmysqlclient.so*; do ln -s $f $(echo $f | sed s/libmysqlclient/libmysqlclient_r/); done
How to install Tomcat 7 on a cPanel server? Register New Posts Advertising Contact Us Advertise Privacy Statement Terms of Service Sitemap Top Hosting and Cloud Web Hosting Talk HostingCon WHIR Hosting Catalog Hottest Hosts Data Centers Data Center Knowledge lasantha86 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by lasantha86 11-27-2015, 06:48 AM #11 jalal7h LQ Newbie Registered: Nov 2015 Posts: no checking for MySQL UNIX socket location... /var/tmp/mysql.sock configure: error: Cannot find libmysqlclient under /usr/local.
add a comment| 3 Answers 3 active oldest votes up vote 2 down vote accepted you could try give different path for mysql, ie: --with-mysql=/usr/lib64 m share|improve this answer answered Sep my question is not about which version is supported. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. weblink For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration.
Is it a fallacy, and if so which, to believe we are special because our existence on Earth seems improbable? All Rights Reserved. Looking for a term like "fundamentalism", but without a religious connotation How to challenge optimized player with Sharpshooter feat Where are the oil platforms in Google Earth? Stay logged in Sign up now!
no configure: error: Cannot find libmysqlclient under /usr. no checking for MySQL UNIX socket location... Hence I just reinstalled MySQL and tried recompiling PHP (from source) again. However I still get errors when compiling PHP: checking for MySQL support...
The configure line should read as follows: ./configure --with-mysql --with-libdir=lib64 That's it. Last edited by GarrathE; 06-05-2011 at 02:03 PM. I will do; it'll be fun to go bug hunting Plagiarism Guard - Protect Against Content Theft Tristan Perry - Personal blog Reply With Quote 0 Quick Navigation Hosting You can follow any responses to this entry through the RSS 2.0 feed.
The error occurred because libmysqlclient wasn't present in the /usr/lib directory. no checking for mSQL support... However it doesn't. students who have girlfriends/are married/don't come in weekends...?
Bookmark the permalink. while build PHP 5.2 from source on Ubuntu 12.4 up vote 10 down vote favorite 2 I was trying to build PHP 5.2.17 from source on Ubuntu 12.4 64bit using this Screen: Cannot open your terminal ‘/dev/pts/0′ - please check SFTP error: Subsystem Request for SFTP Failed, Subsystem Not Found Copyright © LinuxHostingSupport. What news about the second Higgs mode (or the mysterious particle) is anticipated to be seen at LHC around 750 GeV?
This entry was posted on Monday, September 3rd, 2012 and is filed under Linux Administration.