I'm another one helped by this thread, arunr's was indeed the correct fix. Any Idea how to resolve this? Note MySQL client isnotbunled HI while installing php im getting follwoing error configure: error: Cannot find libmysqlclient under /usr. current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. http://stackoverflow.com/questions/11134220/cannot-find-libmysqlclient-under-usr-while-build-php-5-2-from-source-on-ubuntu
Configure Windows XP to Automatically Login! Get out of the transit airport at Schengen area and the counting of Schengen period Who were the red-robed citizens of Jedha City? Since MYSQL is compiled from source, there will not be a 'lib64', the following steps will solve this problem. [[email protected] ~]# cd /usr/local/mysql #Change directory to mysql's home directory [[email protected] mysql]#
A Page of Puzzling Crazy 8s Code Golf Unsold Atari videogames dumped in a desert? I downloaded the lastest mysql rpms as well, and install those. grob115 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by grob115 03-02-2011, 07:08 PM #6 UltraPain LQ Newbie Registered: Jun 2006 Posts: Configure Error Cannot Find Libmysqlclient Under Usr Centos EDIT1: I minimized the configure command so it just focuses to mysql.
Did Donald Trump say that "global warming was a hoax invented by the Chinese"? Note That The Mysql Client Library Is Not Bundled Anymore! Note that the MySQL client library is not bundled anymore! --- Then I saw that libmysql client was in /usr/lib64/ instead of /usr/lib/. For Ubuntu Precise, I had to use "--with-libdir=/lib/x86_64-linux-gnu". http://www.linuxquestions.org/questions/linux-server-73/php-configure-cannot-find-libmysqlclient-582944/ PHP Build Error: bash configure: error: Cannot find libmysqlclient under /usr.
Crazy 8s Code Golf Is the form "double Dutch" still used? /usr/bin/ld: Cannot Find -lmysqlclient Reply Pingback: Problem installing snort barnyard2 | Ubuntu Info - James n Sheri.comUbuntu Info - James n Sheri.com Leave a Reply Cancel reply Your email address will not be published. The time now is 05:41 AM. What's the correct term to describe baby food?
I only added: --with-libdir=lib64 This helped me! http://serverfault.com/questions/68657/cannot-find-libmysqlclient-when-compiling-php5-on-dreamhost 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. Cannot Find Mysql Header Files Under 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. Libmysqlclient_r 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)
If you need to reset your password, click here. Check This Out Note that the MySQL client library is not bundled anymore! Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest Five years later this post STILL has value! Configure Error Cannot Find Mysql Header Files Under Usr Bin
Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Michael HamptonIf this question can be How to install winrar for Linux Recent CommentsSchyler on Fix Toshiba battery issue for Linuxhosting server on System User Account in Windows XP !!Alex on How to install flash player in Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ http://gsbook.org/not-find/error-could-not-find-qfe.php iTunes for Ubuntu How to Hide Text in Notepad !!
So the fix for the "mysql: Cannot find libmysqlclient under /usr" error message is to provide lib64 directory path in the configure line. So just execute the following command to fix the error. ./configure -with-mysql-libraries=/usr/lib64/mysql/ Post navigation ← How to install csf on a VPS . 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
When you do compile this it's called the PHP LSAPI module which is then used by Litespeed to process PHP. it is just about having the 5.2 version running on ubuntu 12. no checking for mSQL support... Note that the MySQL client library is not bundled anymore!
yes no don't know Rate the importance of this bug to you: high low Are you using the same PHP version? Was stuck with compiling php 5.3.29 for phpfarm usage. Trustfully, I agree not to become enraged when he suggests I know nothing about computers and post an enraged rant about him in the year 2014. ./configure --prefix=/usr/local/secure/php --with-apxs2=/usr/local/secure/apache2/bin/apxs --with-mysql=/usr/local/mysql/ --with-libdir=lib64 have a peek here Now it works!
Wife Works in LA. no configure: error: Cannot find libmysqlclient under /usr/local/mysql. no checking for MySQL UNIX socket location... Note that the MySQL client library is not bundled anymore!
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 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 Registration is quick, simple and absolutely free. Note that the MySQL client library is not bundled anymore!
What a fantastic long life posting from ARUNR in 2009. Post navigationPreviousPrevious post:checking for mysql_close in -lmysqlclient… noNextNext post:How to Print Files, Emails, Images, Contacts, and Web Pages From Your iPhone or TouchRelated postsTokuDB Google Cloud Install: Starting MySQL… ERROR! The time now is 05:41 AM. I didn't even catch the tags part… I thought you were just double posting… :) Regardless all that really matters is the article helped you out and you took the time
I have to admit I did spend about 15 minutes before noticing the correct option is --with-libdir NOT --with-lib-dir as in the first line of the first post in the thread. share|improve this answer edited Sep 9 '14 at 16:48 answered Sep 9 '14 at 15:41 beiller 2,6721415 I tried this but it did not work unfortunately. –inimrepus Sep 9 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 Copyright © 2001-2016 The PHP Group All rights reserved.