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. lrtward View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by lrtward 08-12-2011, 05:39 PM #3 knudfl LQ 5k Club Registered: Jan 2008 The PHP configure process honors the "--with-libdir" value for PostgreSQL and many, many other packages, but NOT for its check of MySQL. Note that the MySQL client library is not bundled anymore! http://gsbook.org/not-find/error-could-not-find-libmysqlclient-in.php
Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started The configure line I used to install PHP was ./configure --with-mysql --with-libdir=/usr/lib and the error that I received was checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock configure: error: Cannot find libmysqlclient Join our community today! I downloaded the lastest mysql rpms as well, and install those. http://stackoverflow.com/questions/25748740/setting-up-a-server-and-cant-find-libmysqlclient-under-usr
What a fantastic long life posting from ARUNR in 2009. 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 yes no don't know Rate the importance of this bug to you: high low Are you using the same PHP version? I tried finding it and here is the result: `./usr/share/doc/libmysqlclient-dev ./usr/share/doc/libmysqlclient18 ./usr/lib/x86_64-linux-gnu/libmysqlclient.so ./usr/lib/x86_64-linux-gnu/libmysqlclient.a ./usr/lib/x86_64-linux-gnu/libmysqlclient_r.so.18 ./usr/lib/x86_64-linux-gnu/libmysqlclient_r.so.18.0.0 ./usr/lib/x86_64-linux-gnu/libmysqlclient_r.so ./usr/lib/x86_64-linux-gnu/libmysqlclient_r.a ./usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 ./usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 ... –farzam Jun 21 '12 at 8:29 @hakre I will
On further investigation, I noticed the libmysqlclient is installed in the /usr/lib64 directory because the server is a 64bit machine. 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 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 Configure Error Cannot Find Libmysqlclient Under Usr Centos Patches Add a PatchPull Requests Add a Pull RequestHistoryAllCommentsChangesGit/SVN commitsRelated reports [2006-01-18 23:53 UTC] [email protected] Works fine for me.
How to change the schema of stored procedure without recreating it Is there a non-medical name for the curve where index finger and thumb meet? 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. Sometimes users here feel that the question is not appropriate or you haven't done enough to research the issue. more info here 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
How to eject a cd/dvd in Linux if the eject button dosen't works. → 7 thoughts on “How to fix the ERROR: unable to find mysqlclient library (libmysqlclient.*)” Pingback: Tweets that /usr/bin/ld: Cannot Find -lmysqlclient I had managed to have php5.2 and php5.3 on ubuntu 11.10 –farzam Jun 21 '12 at 9:10 2 @fkniya: You should not care about a single downvote too much. 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 neocontrol View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by neocontrol 09-07-2007, 03:56 PM #2 trickykid LQ Guru Registered: Jan 2001 Posts:
Menu Skip to content About us Search for: How to fix the ERROR: unable to find mysqlclient library (libmysqlclient.*) June 9, 2009Linuxlibmysqlclient snort, mysql error, snort, snort error, snort fix, snort 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 What does this symbol of a car balancing on two wheels mean? Note That The Mysql Client Library Is Not Bundled Anymore! Both comments and pings are currently closed. « [Notice]: unserialize() [function.unserialize]: Error at offset SFTP error: Subsystem Request for SFTP Failed, Subsystem Not Found » Comments are closed.
Cheers, Dave UltraPain View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by UltraPain 06-05-2011, 03:01 PM #7 GarrathE LQ Newbie Registered: Check This Out Were defendants at the Nuremberg trial allowed to deny the holocaust? It is NOT a bug in MySQL, which installs its libraries in lib64, just like every other application that is compiled for 64bit OS. Would presence of MANPADS ground the entire airline industry? Configure Error Cannot Find Mysql Header Files Under Usr Bin
yes checking for specified location of the MySQL UNIX socket... 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. Splitting a line into two How to include module's CSS in CMS pages with module block Where should a galactic capital be? http://gsbook.org/not-find/error-could-not-find-qfe.php Posts: 16,276 Rep: Quote: Cannot find libmysqlclient libmysqlclient = libmysqlclient.so : # yum install mysql-devel → /usr/lib/mysql/libmysqlclient.so knudfl View Public Profile View LQ Blog View Review Entries View HCL Entries
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 Join them; it only takes a minute: Sign up Cannot find libmysqlclient under /usr. What's the correct term to describe baby food?
I'm pretty much totally lost on this one. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ Please visit this page to clear all LQ-related cookies. It worked for me too.
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 Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ Note MySQL client isnotbunled User Name Remember Me? have a peek here Why is credit card information not stolen more often?
Is there a non-medical name for the curve where index finger and thumb meet? I believe i spent a good couple of hours. 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 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
Is ATC communication subject to FCC profanity regulations? Note that the MySQL client library is not bundled anymore! You can follow any responses to this entry through the RSS 2.0 feed. How do I answer a question on graduate school applications on textbooks used in my classes, when my class didn't use a textbook?
How to find/locate a Spammer on a Linux Plesk server? current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. McClane is a NYPD cop. If you'd like to contribute content, let us know.
Maybe my feelings were a little hurt, but there's no excuse for the rudeness this bug reviewer showed. Note that the MySQL client library is not bundled anymore! Fix Toshiba battery issue for Linux How to enable DKIM in cPanel server. How to install Tomcat 7 on a cPanel server?
When hiking, why is the right of way given to people going up? But arunr's answer helped me too by pointing me in the right direction! 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.