Configure Error Libpng Is Required
Contents |
Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software Conmpile error wen compile php:configure: error: libpng.(a|so) not found User Name
Configure Error Libpng.(a So) Not Found. Ubuntu
Remember Me? Password Linux - Software This forum is for Software issues. Having configure error libpng.(a so) not found. centos a problem installing a new program? Want to know which application is best for the job? Post your question configure: error: libjpeg.(a|so) not found. in this forum. 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,
Php Configure: Error: Libjpeg.(a|so) Not Found.
receive our 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 If you have
The Ossp Uuid Library Is Required
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 02-01-2008, 01:10 AM #1 tanveer Member Registered: Feb 2004 Location: e@rth Distribution: RHEL-3/4/5,Gloria,opensolaris Posts: 525 Rep: Conmpile error wen compile php:configure: error: libpng.(a|so) not found Hi a
Forums Hosting Security and Technology trying to recomiple php getting "configure: error: libpng.(a|so) not found." If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have configure: error: freetype.h not found. to register before you can post: click the register link above to proceed. To start
If Configure Fails Try --with-jpeg-dir=
viewing messages, select the forum that you want to visit from the selection below. Results 1 to 7 of 7 Thread: trying configure: error: cannot find mysql header files under yes. to recomiple php getting "configure: error: libpng.(a|so) not found." Tweet Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 10-06-2008,06:08 PM http://www.linuxquestions.org/questions/linux-software-2/conmpile-error-wen-compile-php-configure-error-libpng-a%7Cso-not-found-617853/ #1 azn_romeo_4u View Profile View Forum Posts View Forum Threads Visit Homepage Web Hosting Guru Join Date Jun 2005 Posts 294 trying to recomiple php getting "configure: error: libpng.(a|so) not found." I'm trying to recompile php and i get this error "configure: error: libpng.(a|so) not found." I google it, but couldn't find the solution. Reply With Quote 0 10-06-2008,06:25 PM #2 Jonathan Kinney View Profile View Forum Posts View Forum Threads Visit http://www.webhostingtalk.com/showthread.php?t=727494 Homepage WHT Addict Join Date Aug 2008 Location Shoreline WA Posts 160 Well there are some 64 bit issues with PHP compiling, but no need to go there yet, you didn't present any information pointing in that direction. So I guess the first thing to ask is, do you have libpng installed? You can run "rpm -qa|grep libpng" to find out. If you don't, you need to install it first. More information about versions, OS, and architecture would be helpful. Jonathan Kinney Data Systems Specialist Advantagecom Networks, Inc. http://www.simplywebhosting.com Reply With Quote 0 10-06-2008,09:27 PM #3 azn_romeo_4u View Profile View Forum Posts View Forum Threads Visit Homepage Web Hosting Guru Join Date Jun 2005 Posts 294 Yea i do have it installed. When i run that command...well atleast I think i have it installed. Here's what comes out when I run that command. libpng-1.2.7-3.el4_5.1 libpng10-devel-1.0.16-3.el4_5.1 libpng10-1.0.16-3.el4_5.1 libpng-devel-1.2.7-3.el4_5.1 libpng-1.2.7-3.el4_5.1 libpng10-1.0.16-3.el4_5.1 Cent OS litespeedtech, php 2.6, mysql 5 Reply With Quote 0 10-07-2008,03:21 AM #4 SparkSupport View Profile View Forum Posts View Forum Threads Visit Homepage Web Hosting Master Join Date May 2006 Location India Posts 661 libpng-devel package creates the library files libpng.so and libpng.a. Find out the exact path to the files and copy them to /usr/lib/ folder, before compiling php. That should fix it. ██ SparkSuppo
configure: error: libjpeg.(a|so) not found Support for the other architectures (X86_64, IA-64, and PowerPC) Post Reply Print view Search http://www.centos.org/forums/viewtopic.php?t=31493 Advanced search 4 posts • Page 1 of 1 abednegoyulo Posts: 550 Joined: 2007/12/26 06:24:38 Location: 127.0.0.2 44013 configure: error: libjpeg.(a|so) not found Quote Postby abednegoyulo » https://crybit.com/20-common-php-compilation-errors-and-fix-unix/ 2008/03/10 06:27:53 My centos version[root@box php-5.2.5]# cat /proc/version Linux version 2.6.18-53.1.13.el5 (mockbuild@builder6.centos.org) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Tue Feb 12 13:02:30 EST 2008I not found. have the following x86_64 packages[root@box php-5.2.5]# rpm -qa | grep libjpeglibjpeg-6b-37libjpeg-devel-6b-37[root@box php-5.2.5]# rpm -qa | grep libpnglibpng-1.2.10-7.1.el5_0.1libpng-devel-1.2.10-7.1.el5_0.1[root@box php-5.2.5]# rpm -qa | grep zlibzlib-devel-1.2.3-3zlib-1.2.3-3The location of the libjpeg.so[root@box php-5.2.5]# locate libjpeg.so/usr/java/jre1.6.0_03/lib/amd64/libjpeg.so/usr/lib64/libjpeg.so/usr/lib64/libjpeg.so.62/usr/lib64/libjpeg.so.62.0.0The options that I am using on php[root@box php-5.2.5]# more config.nice #! /bin/sh## Created by configure'./configure' \'--prefix=/usr/local/php' \'--with-apxs2=/usr/local/apache2/bin/apxs' \'--with-mysql=/usr/local/mysql' \'--enable-mbstring' \'--with-mcrypt' \'--with-gd' \'--with-libdir=/usr/lib64' \'--with-jpeg-dir=/usr/lib64' \"$@"The so) not found. errors that I recievechecking for GD support... yeschecking for the location of libjpeg... /usr/lib64checking for the location of libpng... nochecking for the location of libXpm... nochecking for FreeType 1.x support... nochecking for FreeType 2... nochecking for T1lib support... nochecking whether to enable truetype string function in GD... nochecking whether to enable JIS-mapped Japanese font support in GD... nochecking for fabsf... yeschecking for floorf... yesconfigure: error: libjpeg.(a|so) not found.Inside config.log[root@box php-5.2.5]# tail config.log configure:35088: checking for FreeType 2configure:35114: checking for T1lib supportconfigure:35140: checking whether to enable truetype string function in GDconfigure:35166: checking whether to enable JIS-mapped Japanese font support in GDconfigure:35222: checking for fabsfconfigure:35250: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5configure:35234: warning: conflicting types for built-in function 'fabsf'configure:35222: checking for floorfconfigure:35250: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5configure:35234: warning: conflicting types for built-in function 'floorf'All I wanted is to just enable th
Firewall exim MySql scripts Utilities Web-ART WordPress Wallpapers Our Forums Donate to CryBit It's new!!! How to install Adminer on CentOS server? How to change PHP handler from SuPHP to FastCGI in a cPanel server Manage passwords using LastPass - Live safely How to install and configure csf on CentOS/RHEL servers? [Solved] Default email account's disk space usage not updating - cPanel 20+ common PHP compilation errors and fix - Unix Posted by: Arunlal Ashok in Errors 39 Comments Compiling PHP is not an easy process by comparing with the installation of PHP using package managers like Yum or Apt-get. The main advantage of compiling PHP from its source code is the customization. That means you can customize your own PHP with custom modules. A lot of dependencies are required for the compilation of PHP from its source code. By using package manager the dependencies are automatically detected and install with the corresponding package. Here I am listing some common PHP compilation error and fix. This will helpful for compiling PHP on your server. Php compilation on server means the building and installation of PHP from its source. You may get a lot of error while compiling the PHP, here I am listing some common PHP compilation errors and their fixes. ERROR I : checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution Solution: yum install bzip2-devel ERROR II : checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ Solution: yum install curl-devel ERROR III : checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found. checking for fabsf… yes checking for floorf… yes checking for jpeg_read_header in -ljpeg… yes configure: error: png.h not found. Solution: yum install libpng-devel ERROR IV : checking for curl_multi_strerror in -lcurl… yes checking for QDBM support… no checking for GD