Configure Error Cannot Find Db_base Header File
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official configure: error: cannot find ldap libraries in /usr/lib. Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: configure: error: mcrypt.h not found. please reinstall libmcrypt. Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The
Configure: Error: Cannot Find Mysql Header Files Under Yes.
Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs Cannot find MySQL header files under yes Having an Issue With Posting ? Do you want to help us debug the posting
Configure: Error: Jpeglib.h Not Found.
issues ? < is the place to report it, thanks ! Results 1 to 7 of 7 Thread: Cannot find MySQL header files under yes Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode December 11th, 2007 #1 maz00 View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Oct 2007 Beans 7 Cannot find MySQL configure: error: png.h not found. header files under yes Hi all, I'm trying to configure Ubuntu for the first time (and haven't touched *nix for 3 years now) and surprise, I'm running into problems I've install mysql using apt-get install mysql (which works) I've downloaded the source for apache2 and installed it (works) I've downloaded the source for php and installed. It worked except no mysql support. So I went back and now I'm trying to add mysql to it using --with-mysql= however, it return this error ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/ configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore! I've tried everything and still no go. This is what I have installed for mysql ii libdbd-mysql-per 4.004-2 A Perl5 database interface to the MySQL database un libmysqlclient15
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the
Configure: Error: Freetype-config Not Found.
company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions configure: error: cannot find pspell Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million configure: error: utf8_mime2text() has new signature, but u8t_canonical is missing. programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Installing php from source and mysql cant find the header files up vote 0 down vote favorite i have read some https://ubuntuforums.org/showthread.php?t=637973 of the existing topics and have not found the answer. I am trying to install php from source. I wish there was just a rmp package i could install but i have not found one. So i have to build the install. I have all the dependencies installed (finally lol) however i am having an issue with the configuration finding the mysql header files. I am using webmin, but i am doing the http://stackoverflow.com/questions/39310287/installing-php-from-source-and-mysql-cant-find-the-header-files submit right from the ssh box on another monitor so its not a webmin issue. Here are the packages i have installed mysql-community-client 5.7.14-1.el6 mysql-community-common 5.7.14-1.el6 mysql-community-devel 5.7.14-1.el6 mysql-community-libs 5.7.14-1.el6 mysql-community-libs-compat 5.7.14-1.el6 mysql-community-server 5.7.14-1.el6 mysql57-community-release el6-8 i am on linux CentOs6 64bit dedi server and here is the message i am getting. configure: error: Cannot find MySQL header files under /usr/include/mysql Note that the MySQL client library is not bundled anymore! i have tried: /usr/include/mysql /usr/local/mysql /usr/bin/mysql /var/run/mysqld here is my command: ./configure --with-apxs2=/usr/sbin/apxs \ --with-mysql=/usr/bin/mysql \ --with-zlib --enable-mbstring \ --with-curl i assume the header files are .h files right? There are alot of those in the /usr/include/mysql but i tried that, same thing. should i try /var/lib64 instead of lib? Can anyone please tell me where to find the header files and maybe even give me a sample header file name so i can do a locate on that one name to see if it exists? If so then that will help me find the others. Or can anyone see what im doing wrong that knows now to do this? Thanks so much. php mysql linux package share|improve this question asked Sep 3 at 18:48 dave 33 Perhaps they don't bundle mysql anymore on purpose; I guess you should build it without mysql statically linked and
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow http://serverfault.com/questions/633394/php-configure-not-finding-ldap-header-libraries the company Business Learn more about hiring developers or posting ads with us Server Fault http://php.net/manual/ro/faq.build.php Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. 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 top PHP configure not finding LDAP configure: error: header libraries up vote 4 down vote favorite 1 I installed the LDAP development headers: apt-get install libldb-dev This added a few ldap headers: root@crunchbang:/usr/include# ls -la ldap* -rw-r--r-- 1 root root 9466 Apr 23 2013 ldap_cdefs.h -rw-r--r-- 1 root root 1814 Apr 23 2013 ldap_features.h -rw-r--r-- 1 root root 65213 Apr 23 2013 ldap.h -rw-r--r-- 1 root root 9450 Apr 23 2013 ldap_schema.h -rw-r--r-- 1 root root 3468 Apr 23 2013 ldap_utf8.h configure: error: cannot When I configure and reference the directory: ./configure --with-ldap=/usr/include I get this error: ... checking for LDAP support... yes checking for LDAP Cyrus SASL support... no checking size of long int... 4 configure: error: Cannot find ldap libraries in /usr/include. linux php ldap share|improve this question asked Oct 3 '14 at 17:46 Shawn Welch 255211 add a comment| 4 Answers 4 active oldest votes up vote 4 down vote accepted This worked for me perfectly. Install LDAP libraries: apt-get install libldb-dev Create SO linker files: updatedb --prunepaths=/mnt cd /usr/lib if [ ! -L liblber-2.4.so.2 ]; then ln -s "$(locate liblber-2.4.so.2)" fi if [ ! -L liblber-2.4.so.2.8.3 ]; then ln -s "$(locate liblber-2.4.so.2.8.3)" fi if [ ! -L liblber.so ]; then ln -s "$(locate liblber.so)" fi if [ ! -L libldap.so ]; then ln -s "$(locate libldap.so)" fi if [ ! -L libldap_r.so ]; then ln -s "$(locate libldap_r.so)" fi Configure PHP: ./configure --with-ldap=/usr share|improve this answer answered Oct 6 '14 at 15:13 Shawn Welch 255211 Thanks for the answer. For Ubuntu Trusty, after installing libldb-dev, the following is sufficient: sudo ln -s /usr/lib/i386-linux-gnu/liblber.so /usr/lib, sudo ln -s /usr/lib/i386-linux-gnu/libldap.so /usr/lib. –Wtower Mar 21 at 11:09 Also, make sure you are not specifying lib64 libraries path as that is a sure-fire way of making sure compila
and Objects Namespaces Errors Exceptions Generators References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Context options and parameters Supported Protocols and Wrappers Security Introduction General considerations Installed as CGI binary Installed as an Apache module Session Security Filesystem Security Database Security Error Reporting Using Register Globals User Submitted Data Magic Quotes Hiding PHP Keeping Current Features HTTP authentication with PHP Cookies Sessions Dealing with XForms Handling file uploads Using remote files Connection handling Persistent Database Connections Safe Mode Command line usage Garbage Collection DTrace Dynamic Tracing Function Reference Affecting PHP's Behaviour Audio Formats Manipulation Authentication Services Command Line Specific Extensions Compression and Archive Extensions Credit Card Processing Cryptography Extensions Database Extensions Date and Time Related Extensions File System Related Extensions Human Language and Character Encoding Support Image Processing and Generation Mail Related Extensions Mathematical Extensions Non-Text MIME Output Process Control Extensions Other Basic Extensions Other Services Search Engine Extensions Server Specific Extensions Session Extensions Text Processing Variable and Type Related Extensions Web Services Windows Only Extensions XML Manipulation Keyboard Shortcuts? This help j Next menu item k Previous menu item g p Previous man page g n Next man page G Scroll to bottom g g Scroll to top g h Goto homepage g s Goto search(current page) / Focus search box Using PHP » « Installation Manualul PHP FAQ Change language: English Brazilian Portuguese Chinese (Simplified) French German Japanese Korean Romanian Russian Spanish Turkish Other Edit Report a Bug Build Problems This section gathers most common errors that occur at build time. I got the latest version of PHP using the anonymous Git service, but there's no configure script! I'm having problems configuring PHP to work with Apache. It says it can't find httpd.h, but it's right where I said it is! While configuring PHP (./configure), you come across an error similar to the following: checking lex output