Options to Add: bash --with-mysql=/usr/bin/ --with-libdir=lib64 So my PHP configure script after adding these options now looked like the below which resolve the compile error. 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... A story behind a weird inductor magento 2: How to use the order by and limit clause in sql query Why do languages require parenthesis around expressions when used with "if" no checking for MSSQL support via FreeTDS... Check This Out
A story behind a weird inductor Does Intel sell CPUs in ribbons? I sincerely hope that he/she is no longer in that role -- or doing anything that requires using any level of tact with actual people -- because he/she is just a I downloaded the lastest mysql rpms as well, and install those. 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
I'm pretty much totally lost on this one. EDIT1: I minimized the configure command so it just focuses to mysql. Tiyogi Linux - Software 4 05-04-2004 08:24 AM Can't find php configure NW Otter Linux - Software 1 09-24-2003 01:33 AM All times are GMT -5.
It's the second time I got the same error even I remembered it had came earlier but I did not pick up the solution on time which is so sad… -njoy Possible XML handles in Magento 2? Thanks. Checking For Specified Location Of The Mysql Unix Socket... No If you'd like to contribute content, let us know.
Consider adding a README.64bit file containing this information and other relevant information. [2010-03-25 23:16 UTC] chris at spawnordie dot com Other than the bug reviewer just being a flat-out ass... Note That The Mysql Client Library Is Not Bundled Anymore! When configuring PHP for x86_64, it is necessary to use: --with-libdir=lib64 When you compile MySQL from source, it does not place its files in lib64, but rather lib. Quote: ./configure --with-mysql=/usr/bin/ --with-libdir=lib64 Hope that helps! The users who voted to close gave this specific reason:"Questions should demonstrate reasonable business information technology management practices.
Now it works! http://serverfault.com/questions/68657/cannot-find-libmysqlclient-when-compiling-php5-on-dreamhost Anyhow the article needed to be updated so for pointing it out the first time we appreciate the note. Cannot Find Mysql Header Files Under LinuxQuestions.org > Forums > Linux Forums > Linux - Server php configure: cannot find libmysqlclient User Name Remember Me? Php Cannot Find Libmysqlclient_r 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
Hopefully you are still a member, and hopefully you get this thanks!!! his comment is here 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 iforce2d View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by iforce2d 07-27-2012, 04:14 AM #9 justin69 LQ Newbie Registered: Jul 2012 Posts: Not the answer you're looking for? Configure Error Cannot Find Mysql Header Files Under Usr Bin
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?) Do the Leaves of Lórien brooches have any special significance or attributes? and add the line extension=memcached.so at the end of the file: [...] extension=memcached.so The ionCube Loader can be installed as follows: cd /tmp Next download and unpack the correct ionCube Loader this contact form Thanks!
If you need to reset your password, click here. Install Libmysqlclient yes configure: error: Cannot find imap library (libc-client.a). and add the line extension=apc.so at the end of the file (you can also configure some additional APC settings): [...] extension=apc.so apc.enabled=1 apc.shm_size=128M apc.ttl=0 apc.user_ttl=600 apc.gc_ttl=600 apc.enable_cli=1 apc.mmap_file_mask=/tmp/apc.XXXXXX ;apc.mmap_file_mask=/dev/zero ;apc.shm_segments =
GarrathE View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by GarrathE 07-15-2011, 01:31 AM #8 iforce2d LQ Newbie Registered: Jul 2011 Posts: I'm another one helped by this thread, arunr's was indeed the correct fix. alex Reply Artorios Rex 2:28 AM March 5, 2011 Sorry, Alex. Configure: Error: Cannot Find Openssl's Libraries ext/mysqli gets only security fixes.
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 -> The PHP configure process honors the "--with-libdir" value for PostgreSQL and many, many other packages, but NOT for its check of MySQL. Thanks. http://rss4medics.com/cannot-find/php-configure-cannot-find-libmysqlclient.php 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
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. vi /opt/phpfcgi-5.3.22/lib/php.ini ... I had to up-grade on MySQL server to 5.5 on last week in a server. yes checking for specified location of the MySQL UNIX socket...
Solution: When configuring PHP for x86_64, it is necessary to use: --with-libdir=lib64 When you compile MySQL from source, it does not place its files in lib64, but rather lib. 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 Can Trump undo the UN climate change agreement? jalal7h View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by jalal7h Thread Tools Show Printable Version Email this Page Search this Thread Advanced
while build PHP 5.2 from source on Ubuntu 12.4 Updated from your comment! 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. The issue was that I the MySQL server version was 64-bit and the php compile script was looking for 32-bit libraries. Why is Professor Lewin correct regarding dimensional analysis, and I'm not?
it is just about having the 5.2 version running on ubuntu 12. asked 2 years ago viewed 2950 times active 2 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Linked 10 Cannot find libmysqlclient under /usr. no
checking for MySQL support... The posted workaround by Chris does work flawlessly.
This time, I'm stuck. 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 Someone peeled an American flag sticker off of my truck. Thanks again for the tip.