Home > Not Find > Error Could Not Find Libmysqlclient In

Error Could Not Find Libmysqlclient In

Contents

no configure: error: Cannot find libmysqlclient under /usr/local/mysql. Success! Post a Comment About Me Arun Ghosh View my complete profile cPanel (50) Kloxo (15) Windows (11) OpenVZ (9) LAMP (7) Plesk (7) Railo (7) Postfix (5) ColdFusion (4) Exim (4) here is the command I used and it works: sudo ./configure --prefix=/opt/php5.2 --with-config-file-path=/opt/php5.2 --with-mysql --with-libdir=/lib/x86_64-linux-gnu share|improve this answer answered Jun 21 '12 at 9:16 farzam 4402516 How did you check over here

up vote 2 down vote Maybe for some poor soul this will work: ./configure --with-apxs2=/usr/sbin/apxs --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd share|improve this answer answered Apr 8 '15 at 13:24 Brongadier 749 This helped me greatly! more hot questions question feed lang-php about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation So I executed the command locate libmysqlclient I got the following result [email protected] [~/techin/snort-2.8.4.1]# locate libmysqlclient /usr/lib64/libmysqlclient.so /usr/lib64/libmysqlclient.so.15 /usr/lib64/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient_r.so /usr/lib64/libmysqlclient_r.so.15 /usr/lib64/libmysqlclient_r.so.15.0.0 /usr/lib64/mysql/libmysqlclient.a /usr/lib64/mysql/libmysqlclient.la /usr/lib64/mysql/libmysqlclient.so /usr/lib64/mysql/libmysqlclient_r.a /usr/lib64/mysql/libmysqlclient_r.la /usr/lib64/mysql/libmysqlclient_r.so /usr/local/cpanel/lib64/libmysqlclient.so.14 So libmysqlclient http://stackoverflow.com/questions/11134220/cannot-find-libmysqlclient-under-usr-while-build-php-5-2-from-source-on-ubuntu

Cannot Find Mysql Header Files Under

when I copied and pasted it into a terminal window, the "--" got converted to a Unicode long hyphen. Thank you so much! while build PHP 5.2 from source on Ubuntu 12.4 Related 13CLSQL and MYSQL on OS X63Ruby gem mysql2 install failing1building mysql client library with ssl support10Cannot find libmysqlclient under /usr. more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

Thanks! I should have clarified that in the second comment. do you have MySQL installed? Configure Error Cannot Find Libmysqlclient Under Usr Centos Wordpress themes php.net| support| documentation| report a bug| advanced search| search howto| statistics| random bug| login go to bug id or search bugs for Bug#36073 Source-compiled MySQL on x86_64 causes PHP

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. So the fix for the "mysql: Cannot find libmysqlclient under /usr" error message is to provide lib64 directory path in the configure line. It is NOT a bug in MySQL, which installs its libraries in lib64, just like every other application that is compiled for 64bit OS. http://www.linuxquestions.org/questions/linux-server-73/php-configure-cannot-find-libmysqlclient-582944/ Could large but sparsely populated country control its borders?

iTunes for Ubuntu How to Hide Text in Notepad !! /usr/bin/ld: Cannot Find -lmysqlclient Thanks! Are you new to LinuxQuestions.org? 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

Note That The Mysql Client Library Is Not Bundled Anymore!

A Page of Puzzling Crazy 8s Code Golf Unsold Atari videogames dumped in a desert? 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 Cannot Find Mysql Header Files Under The server quit without updating PID fileJanuary 19, 2015dnsenum Returning Odd Characters After Installing Options Perl Modules On Backtrack 5February 2, 2013My Backup Pro For Google Nexus 7 Won't Accept Email Libmysqlclient_r Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

It worked for me too. check my blog Here in my case i have configured MySQL using: --prefix=/usr/local/mysql When you entered the /usr/local/mysql directory, you can find 'lib' in there, but in the 64 bit os, PHP compilation forced 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. Now it works! Configure Error Cannot Find Mysql Header Files Under Usr Bin

System User Account in Windows XP !! Fix Toshiba battery issue for Linux How to enable DKIM in cPanel server. You are currently viewing LQ as a guest. http://strobelfilms.com/not-find/error-could-not-find-qfe.html Having a problem logging in?

Reply alex says: March 5, 2011 at 12:44 AM Hello Artorios Rex, Sure thing.. 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. Who were the red-robed citizens of Jedha City?

but I have to have this on my machine to support legacy scripts.

current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. On further investigation, I noticed the libmysqlclient is installed in the /usr/lib64 directory because the server is a 64bit machine. How to respond to a ridiculous request from a senior colleague? Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ

Click here to see the post LQ members have rated as the most helpful post in this thread. This entry was posted on Monday, September 3rd, 2012 and is filed under Linux Administration. so burnyard will work Reply Pingback: Les IDS comme des nul(l)s « Pirater comme un nul(l) T says: April 4, 2013 at 5:13 pm Thanks! http://strobelfilms.com/not-find/error-3170-could-not-find-installable.html And last but not least: report this to MySQL.

jsaravana87 View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by jsaravana87 View Blog 08-12-2011, 03:38 PM #2 lrtward Member 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: 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 Thanks again!

I'm pretty much totally lost on this one. Categories cPanel Management (49) Installations (5) Linux Administration (89) Mysql & PostGres SQL (13) PCI Compliance (1) Plesk Management (41) Scripts (7) VPS Management (18) Recent Posts ERROR: Can't open or 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 mysql php share|improve this question edited Sep 25 '09 at 10:54 asked Sep 25 '09 at 10:45 ZelluX 2451311 closed as off-topic by Michael Hampton♦ Apr 8 '15 at 15:54 This

Can もとい be used as a noun describing the correction or the fact of correction? Word for fake religious people Employer offering Roth 401k as well as traditional 401(k), established in career How do organic chemistry mechanisms become accepted? Maybe my feelings were a little hurt, but there's no excuse for the rudeness this bug reviewer showed. This time, I'm stuck.

The time now is 05:41 AM. Shortest auto-destructive loop How would people living in eternal day learn that stars exist? Subscribed! ext/mysqli gets only security fixes.

if the lib's in /foo/bar/baz/libmysql.so, you have to do --with-mysql=/foo/bar instead. –Marc B Sep 9 '14 at 15:44 I gave this a shot and no such luck. –inimrepus Sep Do you wish to Debug? - Internet Explorer 5 - Windows 2000 SP2January 24, 2013 6 Comments Artorios Rex says: March 1, 2011 at 11:54 AM You may want to encapsulate yes checking for specified location of the MySQL UNIX socket... I think it's important that you take care that question and answer are of general use, e.g.

How to find/locate a Spammer on a Linux Plesk server? How to change Linux root password temporarily. 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.