Home > Cannot Find > Error Cannot Find Libmysqlclient_r Under /usr/local/mysql

Error Cannot Find Libmysqlclient_r Under /usr/local/mysql

Contents

I just removed the --with-lib-dir option. Many thanks. Browse other questions tagged php ubuntu installation or ask your own question. EDIT2: tried running ldconfig -v |grep mysql and here is the output # ldconfig -v |grep mysql /sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once /sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once http://megavoid.net/cannot-find/error-cannot-find-libmysqlclient-under-usr-local-mysql.html

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 -> it is just about having the 5.2 version running on ubuntu 12. yes checking for MSSQL support via FreeTDS... Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the http://stackoverflow.com/questions/11134220/cannot-find-libmysqlclient-under-usr-while-build-php-5-2-from-source-on-ubuntu

Error Cannot Find Libmysqlclient_r Under /usr/local/mysql

iforce2d View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by iforce2d 07-27-2012, 03:14 AM #9 justin69 LQ Newbie Registered: Jul 2012 Posts: Looking for a term like "fundamentalism", but without a religious connotation Is the sum of two white noise processes also a white noise? Does Zootopia have an intentional Breaking Bad reference? I was really pulling my hair out over that one.

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 That was entirely my fault. 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) Configure Error Cannot Find Libmysqlclient Under /usr Centos On this page 3 Building PHP 5.3.22 (FastCGI) 3 Building PHP 5.3.22 (FastCGI) Download and extract PHP 5.3.22: mkdir /opt/phpfcgi-5.3.22 mkdir /usr/local/src/php5-build cd /usr/local/src/php5-build wget http://de.php.net/get/php-5.3.22.tar.bz2/from/this/mirror -O php-5.3.22.tar.bz2 tar jxf php-5.3.22.tar.bz2

Is it plagiarims (or bad practice) to cite reviews instead of source material? Configure Error Cannot Find Mysql Header Files Under Usr Local Mysql Bookmark the permalink. Did you compile libmysql or install from repo? –beiller Sep 9 '14 at 15:44 Using Ubuntu, I installed libmysql from repo. –inimrepus Sep 9 '14 at 15:45 1 But arunr's answer helped me too by pointing me in the right direction!

Search this Thread 09-07-2007, 10:18 AM #1 neocontrol Member Registered: Jul 2005 Posts: 273 Rep: php configure: cannot find libmysqlclient Never mind this. Mysqlnd Syntax Design - Why use parentheses when no arguments are passed? To see if your MySQL server is 64-bit or 32-bit check the version by issuing the below command and looking for a response also shown below. What a fantastic long life posting from ARUNR in 2009.

Configure Error Cannot Find Mysql Header Files Under Usr Local Mysql

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 PHP Build Error: bash configure: error: Cannot find libmysqlclient under /usr. Error Cannot Find Libmysqlclient_r Under /usr/local/mysql If you need to reset your password, click here. Note That The Mysql Client Library Is Not Bundled Anymore! Join our community today!

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. check over here Reply alex 12:44 AM March 5, 2011 Hello Artorios Rex, Sure thing.. asked 4 years ago viewed 19747 times active 1 year ago Visit Chat Linked 1 Setting up a server and can't find libmysqlclient under /usr Related 2Installing Mercurial from Source Files alex Reply Artorios Rex 2:28 AM March 5, 2011 Sorry, Alex. Cannot Find Mysql Header Files Under

Anyhow the article needed to be updated so for pointing it out the first time we appreciate the note. EDIT1: I minimized the configure command so it just focuses to mysql. when I copied and pasted it into a terminal window, the "--" got converted to a Unicode long hyphen. his comment is here 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

Why can't alcohols form hydrogen-bonded dimers like carboxylic acids? Configure: Error: Cannot Find Openssl's Libraries 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 Can Tex make a footnote to the footnote of a footnote? ¿Muestra la imagen un ejemplo de signo tironiano?

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.

Asking Client for discount on Ticket to amusement park Is there a place in academia for someone who compulsively solves every problem on their own? Categories Code Snippets Errors Insights Labs Security Pages Backtrack Linux Consulting Contact Documentation Kali Linux Tags Tools Sponsors Home » Errors »configure: error: Cannot find libmysqlclient under /usr configure: error: Cannot Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. 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

Find the limit of the following expression: Should spoilers and reverse thrust be deployed before nose gear touches down? no checking for mSQL support... Artorios Rex 11:54 AM March 1, 2011 You may want to encapsulate the code with tags... weblink The article has been updated.

When running $ ./configure ${PHPFEATURES} It reported error configure: error: Cannot find libmysqlclient under /usr. Are you new to LinuxQuestions.org? Thanks for taking the time to leave a note with this request. Now it works!

Why aren't Muggles extinct? But removing apparently works, but you'll want to make sure this didn't break any functionality for PHP with a MySQL database as well. 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: This, like the last poster, has been a life saver for me.

Just to note on my install if it helps anyone, the locate shows its in /usr//lib/x86_64-linux-gnu but it says missing still if I include the /usr in front, so it does Start a trial and get your shirt. 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 alex Reply Artorios Rex 11:55 AM March 1, 2011 Grrr… tags Reply alex 12:46 AM March 5, 2011 Hello Artorios Rex, One message noting your request would have been sufficient.

This article was written before we started using a custom method to wrap code. Using CASE to select between two geometry functions? It's using multiple php engines at apache at the same time. A Riddle of Feelings Why are so many metros underground?

Thanks.