|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-07-02 12:17 UTC] pete at byways dot org
When trying to compile 4.0.6 with the same configuration as 4.0.5, configure complains that it can't find libjpeg, although the library files are located in the specified directory (/usr). This is the output of configure: checking whether to include PCRE support... yes checking for memmove... (cached) yes checking whether to include PDFlib support... yes checking for the location of libjpeg... yes checking for jpeg_read_header in -ljpeg... no configure: error: libjpeg not found! Here is my command line: ./configure \ --with-apxs=/usr/sbin/apxs \ --with-gettext=no \ --with-pgsql \ --with-msql=/usr/local/Hughes \ --with-mnogosearch=/usr/local/mnogosearch \ --without-mysql \ --without-gd \ --with-xml \ --with-dom=shared,/usr/local \ --with-java=/usr/local/jdk1.2.2 \ --with-pdflib=/usr/local \ --with-pspell \ --enable-track-vars=yes \ --with-jpeg-dir=/usr \ --with-tiff-dir=/usr \ --with-zlib-dir=/usr \ --with-session=/tmp \ --enable-trans-sid PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 13:00:02 2025 UTC |
Here's the tail end of config.log: configure:39416: checking whether to include PDFlib support configure:39894: checking for the location of libjpeg configure:39938: checking for jpeg_read_header in -ljpeg configure:39959: gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8 -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/classic -L/usr/local/jdk1.2.2/jre/lib/i386/classic -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/native_threads -L/usr/local/jdk1.2.2/jre/lib/i386/native_threads -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386 -L/usr/local/jdk1.2.2/jre/lib/i386 -Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib -Wl,-rpath,/usr/local/Hughes/lib -L/usr/local/Hughes/lib conftest.c -ljpeg -L/usr/lib -lz -lmsql -ludmsearch -lpq -lcrypt -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv 1>&5 /tmp/ccxhNgGY.o: In function `main': /usr/local/src/php-4.0.6/configure:39955: undefined reference to `jpeg_read_header' collect2: ld returned 1 exit status configure: failed program was: #line 39948 "configure" #include "confdefs.h" /* Override any gcc2 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 jpeg_read_header(); int main() { jpeg_read_header() ; return 0; }