Configure Error Problem With Libpng
Contents |
Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software Conmpile error wen
Configure Error Libpng.(a So) Not Found. Ubuntu
compile php:configure: error: libpng.(a|so) not found User Name Remember Me? Password Linux configure: error: libjpeg.(a|so) not found. - Software This forum is for Software issues. Having a problem installing a new program? Want to know which configure error libpng.(a so) not found. centos application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By
Configure: Error: Freetype.h Not Found.
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. 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:
Php Configure Error Libjpeg A So Not Found
Site Howto | Site FAQ | Sitemap | Register Now 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 02-01-2008, 01:10 AM #1 tanveer Member Regist
Modified: 2004-06-04 15:34 UTC From: tuxedobob at mac dot com Assigned: Status: Not a bug Package: Compile Failure PHP Version: 4.3.6 OS: Mac OS X 10.3.4 Private report: No CVE-ID: View Add Comment Developer if configure fails try --with-jpeg-dir=
Configure Error Libxpm.(a So) Not Found. Centos
run configure using this line (which works without the --with-gd and --with-jpeg-dir options): ./configure --with-apxs --with-zlib=/usr --with-mysql -- enable-cgi --with-gd configure: error: cannot find mysql header files under yes. --with-jpeg-dir --with-ldap --with- xml --with-iodbc --enable-sockets --enable-dbx --enable- dbase --enable-trans-sid --enable-exif --enable-wddx -- enable-ftp --enable-mbstring --with-iconv configure told me this: checking for png_write_image in -lpng... no configure: error: Problem with libpng.(a|so) or libz.(a|so). http://www.linuxquestions.org/questions/linux-software-2/conmpile-error-wen-compile-php-configure-error-libpng-a%7Cso-not-found-617853/ Please check config.log for more information. config.log has this to say: configure:30316: checking for png_write_image in -lpng configure:30335: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/ usr/local/lib -lz conftest.c -lpng -ljpeg -lz -lm 1>&5 ld: table of contents for archive: /usr/local/lib/ libpng.a is out of date; rerun ranlib(1) (can't load from it) configure: failed program was: #line 30324 "configure" #include "confdefs.h"/* Override any gcc2 https://bugs.php.net/28607 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char png_write_image(); int main() { png_write_image(); return 0; } I also get this error trying to compile/configure PHP 4.3.7RC1. The strange thing is, I have 4.3.6 running already with GD included. I have somewhat changed my system since last install, but even reinstalling zlib and libpng, this persists, and since the GD stuff supposedly comes bundled with PHP, I don't see how I could've messed things up. Patches Add a PatchPull Requests Add a Pull RequestHistoryAllCommentsChangesGit/SVN commitsRelated reports [2004-06-04 15:34 UTC] iliaa@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. The issue is a broken libpng or header confusion on your system, this is not a PHP bug. Copyright © 2001-2016 The PHP Group All rights reserved. Last updated: Wed Oct 05 05:01:38 2016 UTC
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 company Business Learn more about hiring developers or http://stackoverflow.com/questions/766810/when-i-try-to-make-php-with-with-gd-i-get-an-error-that-configure-error-li posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss http://alvinalexander.com/blog/post/php/solved-problem-error-configure-php-gd-support Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up When I try to make php with --with-gd, I get an error that “configure: error: libpng.(a|so) not found.” What's wrong? up vote 2 down vote favorite So far, I've made sure I've installed libpng and libjpeg not found with DarwinPorts (I'm running on OS X Leopard), but that doesn't seem to do the trick. I've read in a number of places that you need the development files (i.e. libpng-devel, etc.) as well to make this work. I'm a little lost. Can someone help me understand what I'm supposed to do? I'm happy to provide any more information that's necessary. My configuration for PHP looks like: ./configure '--with-png-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-gd' and I'm trying to install PHP 5.2.9. I've gotten the so) not found. make to work without the '--with-gd' option. I've also been copying what I've found on various sites, so I might be doing something really wrong. php gd libpng share|improve this question edited Jan 24 '12 at 1:59 josephthomas 2,705818 asked Apr 20 '09 at 3:44 Bialecki 8,008226491 This got me when I was building Perl modules. Did libpng create something called libpng.conf or something similar? –ojblass Apr 20 '09 at 3:55 yes,there's a libpng-config. –Bialecki Apr 20 '09 at 12:52 add a comment| 3 Answers 3 active oldest votes up vote 1 down vote This error indicates that the libpng.so or libpng.a file could not be found. These files are created when libpng is compiled. I don't know much about the Mac OS X way of installing things, but if you want to do it the Mac OS X way, you'll probably need to find and install that libpng-devel package. Otherwise, you'll need to grab the source of libpng and compile it yourself. It depends on zlib, which you probably already have shared libraries for, but if not, you'll have to get that too. Here's a guide to compiling libpng on Mac OS X. It has a darwin-specific Makefile (not sure why that's needed, but worth a try). share|improve this answer answered Apr 20 '09 at 5:31 thomasrutter 67.1k15105138 I just tried that, I think the problem I'm having now is I just don't know wh
intellij (4) java (429) jdbc (26) swing (74) jsp (9) latex (26) linux/unix (289) mac os x (315) mysql (54) ooa/ood (11) perl (156) php (97) postgresql (17) programming (43) ruby (56) scala (640) sencha (23) servlets (10) technology (84) testing (13) uml (24) zen (47) Solved problem trying to configure PHP with GD support By Alvin Alexander. Last updated: June 3 2016 Problem I was just trying to install PHP from source code on a CentOS Linux box, specifically trying to configure PHP with GD support with a configure command like this: ./configure --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql \ --with-gd Unfortunately this configure command fails, ending with the following two lines of error output: If configure fails try --with-jpeg-dir=