Thanks! Anyhow the article needed to be updated so for pointing it out the first time we appreciate the note. Use the binary packages provided by MySQL. vi /opt/phpfcgi-5.3.22/lib/php.ini ... http://rinfix.com/cannot-find/ubuntu-12-04-configure-error-cannot-find-libmysqlclient-under-usr.html
checking for MySQL support... This second one is just annoying especially venting frustration for an article we took the time to write in our free time as an effort to help others resolve an issue. There are 6 Comments. Does it make a difference that the server is x32? –inimrepus Sep 9 '14 at 15:50 | show 5 more comments Your Answer draft saved draft discarded Sign up or http://stackoverflow.com/questions/11134220/cannot-find-libmysqlclient-under-usr-while-build-php-5-2-from-source-on-ubuntu
Polyglot Anagrams Robbers' Thread Why is the 'You talking to me' speech from the movie 'Taxi Driver' so famous? and add the line extension=memcache.so at the end of the file: [...] extension=memcache.so The memcached extension can be installed as follows: apt-get install libmemcached-dev pecl -C ./pear.conf install memcached Open /opt/phpfcgi-5.3.22/lib/php.ini... All Rights Reserved. Checking For Specified Location Of The Mysql Unix Socket... No TIKZ: foreach not compatible with calc-library?
asked 4 years ago viewed 20012 times active 1 year ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Linked 1 Setting up a server and can't find libmysqlclient under Cannot Find Libmysqlclient_r yes no don't know Rate the importance of this bug to you: high low Are you using the same PHP version? No, create an account now. http://www.linuxquestions.org/questions/linux-server-73/php-configure-cannot-find-libmysqlclient-582944/ Browse other questions tagged php ubuntu installation or ask your own question.
Thanks! Note That The Mysql Client Library Is Not Bundled Anymore! Bug? yes
checking for specified location of the MySQL UNIX socket... Download the source file from php.net and installing.
I only see the path inside the error messages of the # ldconfig -v | grep mysql output, but it has other paths, too. –hakre Jun 21 '12 at 9:22 https://www.howtoforge.com/how-to-use-multiple-php-versions-php-fpm-and-fastcgi-with-ispconfig-3-debian-wheezy-p2 Here is my configure line: ./configure --prefix=/opt/php5.2 --with-config-file-path=/opt/php5.2 --with-mysqli --with-mysql=/usr/local/mysql --with-curl --with-gd --with-jpeg --with-jpeg-dir --enable-cli --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect And I am getting the error: configure: error: Cannot find MySQL header files Cannot Find Mysql Header Files Under So the right way to run configure is: ./configure --with-mysql=/usr/bin/ --with-libdir=lib64 Hope that helps! (Hey, PHP guys who wrote the configure script: why not include check on /usr/lib64/ as well?) Php Cannot Find Libmysqlclient_r Browse other questions tagged mysql php or ask your own question.
Thanks for taking the time to leave a note with this request. weblink Either use the workaround or switch to using mysqlnd. [2010-10-28 09:51 UTC] [email protected] Erm, I meant that ext/mysql gets only security fixes. Yes, my password is: Forgot your password? MySQL Version: bash [[email protected] php-5.2.8]# mysql --version mysql Ver 14.12 Distrib 5.0.45, for redhat-linux-gnu (x86_64) using readline 5.0 To resolve the issue add the below configuration options to your PHP configure Configure Error Cannot Find Mysql Header Files Under Usr Bin
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 Last edited by neocontrol; 09-07-2007 at 11:22 AM. Search this Thread 09-07-2007, 11:18 AM #1 neocontrol Member Registered: Jul 2005 Posts: 273 Rep: php configure: cannot find libmysqlclient Never mind this. http://rinfix.com/cannot-find/ubuntu-php-configure-error-cannot-find-libmysqlclient-under-usr.html Thanks!
no checking for mSQL support... Install Libmysqlclient why does this error keep popping out? When you do compile this it's called the PHP LSAPI module which is then used by Litespeed to process PHP.
My boss asks me to stop writing small functions and do everything in the same loop Teenage daughter refusing to go to school Is there an actual army in 1984? What is the significance of the robot in the sand? User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Configure: Error: Cannot Find Openssl's Libraries yes checking for specified location of the MySQL UNIX socket...
They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Reply alex 12:44 AM March 5, 2011 Hello Artorios Rex, Sure thing.. no checking for MySQL UNIX socket location... his comment is here Thanks again for the tip.
As a monk, can I use Deflect Missiles to protect my ally? Two hours of trying to get this to configure, and your suggestion saved me. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ