Configure Error Cannot Find Libmysqlclient_r Under
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have configure error cannot find libmysqlclient under /usr centos Meta Discuss the workings and policies of this site About Us
Configure Error Cannot Find Libmysqlclient Under Usr Local Mysql
Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with note that the mysql client library is not bundled anymore! us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just
Cannot Find Mysql Header Files Under
like you, helping each other. Join them; it only takes a minute: Sign up Cannot find libmysqlclient under /usr. 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 configuration: ./configure --prefix=/opt/php5.2 --with-config-file-path=/opt/php5.2 --with-mysql but I configure: error: cannot find openssl's libraries keep getting this error: configure: error: Cannot find libmysqlclient under /usr. Note that the MySQL client library is not bundled anymore! Any Idea how to resolve this? EDIT1: I minimized the configure command so it just focuses to mysql. also I'm running a 64bit version of ubuntu. 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 /sbin/ldconfig.real: Cannot stat /usr/lib/x86_64-linux-gnu/libnss_db.so: No such file or directory libmysqlclient.so.18 -> libmysqlclient_r.so.18.0.0 libmysqlpp.so.3 -> libmysqlpp.so.3.1.0 php ubuntu installation share|improve this question edited Jun 21 '12 at 9:23 asked Jun 21 '12 at 8:23 farzam 4402516 1 I guess you need to tell configure where the directory of it is. - Looks like this is not a question but a Google request: php configure: cannot find libmysqlclient (search: PHP configure libmysqlclient path). –hakre Jun 21 '12 at 8:25 Do you have any idea where it is located?
Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Server php
Mysqlnd
configure: cannot find libmysqlclient User Name Remember Me? Password Linux - Server This forum is for the discussion of Linux Software used in a server related context. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our http://stackoverflow.com/questions/11134220/cannot-find-libmysqlclient-under-usr-while-build-php-5-2-from-source-on-ubuntu newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now http://www.linuxquestions.org/questions/linux-server-73/php-configure-cannot-find-libmysqlclient-582944/ If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. 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 guide, with exercises at the end of each chapter. 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. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 09-07-2007, 10:18 AM #1 neocontrol Member Registered: Jul 2005
Почта Скрипты Домены VDS/VPS/Dedicated server Начало работы php 5 и расширения Веб-сервера ISPManager Оплата Тарифы и http://wiki.iphoster.ru/wiki/CentOS_php_-_configure:_error:_Cannot_find_libmysqlclient_under_/usr. обработка заказов Статья Обсуждение Просмотр История CentOS php - configure: error: Cannot find libmysqlclient under https://www.question-defense.com/2009/03/10/configure-error-cannot-find-libmysqlclient-under-usr /usr. Материал из Wiki - Iphoster - 'the best ever support' Перейти к: навигация, поиск CentOS cannot find php - configure: error: Cannot find libmysqlclient under /usr. Ошибка при компиляции php: checking for mcrypt support... yes checking for libmcrypt version... >= 2.5.6 checking for mcrypt_module_open in -lmcrypt... yes checking for configure error cannot MSSQL support via FreeTDS... no checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no configure: error: Cannot find libmysqlclient under /usr. 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 -> libmysqlclient.so.16.0.0 libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0 # locate libmysqlclient.so.16 /usr/lib64/libmysqlclient.so.16 /usr/lib64/libmysqlclient.so.16.0.0 /usr/local/cpanel/3rdparty/lib64/mysql/libmysqlclient.so.16 /usr/local/cpanel/3rdparty/lib64/mysql/libmysqlclient.so.16.0.0 Решение - добавляем опцию --with-libdir=lib64: # ./configure --prefix=/opt/php53 --with-zlib-dir --with-freetype-dir --enable-mbstring --with-libxml-dir=/usr --enable-soap --enable-calendar --with-curl --with-mcrypt --with-zlib --with-gd --disable-rpath --enable-inline-optimization --with-bz2 --with-zlib --enable-sockets
Cannot find libmysqlclient under /usr alex March 10, 2009 Errors 6 Comments Tweet I received the below error when compiling PHP to work as an external application with the Litespeed API. When you do compile this it's called the PHP LSAPI module which is then used by Litespeed to process PHP. PHP Build Error: bash configure: error: Cannot find libmysqlclient under /usr. Note that the MySQL client library is not bundled anymore! The issue was that I the MySQL server version was 64-bit and the php compile script was looking for 32-bit libraries. 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. MySQL Version: bash [root@server 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 script. 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. PHP Configure Script: bash ./configure --prefix=/var/lsws/lsphp5 --with-litespeed --with-mysqli --with-mcrypt --with-mysql=/usr/bin/ --with-libdir=lib64 --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring --with-iconv See larger image SQL Pocket Guide (Paperback) List Price: $14.99 USD New From: $6.98 USD In Stock Used from: $3.69 USD In Stock
See larger image MySQL High Availability: Tools for Building Robust Data Centers (Paperback) List Price: $49.99 New From: $4.07 USD In Stock Used from: $1.49 USD In Stock TOPICS --with-litespeed32-Bit64-Bitcompileconfigurelib64libdirlibmysqlclientlibraryLitespeedlsapilswsmysqlPHPversion Share Previous How to Print Files, Emails, Images, Contacts, and Web Pages From Your iPhone or Touch Nextchecking for mysql_close in -lmysqlclient… no Related Posts TokuDB Google Cloud Install: Starting MySQL… ERROR! The server quit without updating PID file Ubuntu apt-get upgrade - The following packages have been kept back Update WordPress Amazon Product in a Post Plugin 2.X to Amazon Product in a Post Plugin 3.X There are 6 Comments. Artorios Rex 11:54 AM March 1, 2011 You may want to encapsula