Re: PHP 4.0 Bug #9918 Updated: cannot compile php4 with pdflib
| From: | Jim Balcomb | Date: | Sat, 24 Mar 2001 01:47:35 +0000 |
| Subject: | Re: PHP 4.0 Bug #9918 Updated: cannot compile php4 with pdflib | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-49860@lists.php.net to get a copy of this message | ||
On Fri, Mar 23, 2001 at 10:23:44PM -0000, Bug Database wrote:
> ID: 9918
> Updated by: sniper
> Reported By: jbalcomb@unalias.org
> Status: Feedback
> Bug Type: Compile Failure
> Assigned To:
> Comments:
>
> User feedback:
> --------------
> /usr/bin/ld: cannot find -ljpeg
> collect2: ld returned 1 exit status
> configure: failed program was:
>
> now what i am supposed to do with that, i dont know.
> i dont see an option for pdflib or php to specify no libjpeg.
> ------------------
>
> It might still need the libjpeg. Try adding e.g. --with-jpeg-dir=/usr/local into your configure
> line.
>
> 1. delete config.cache
> 2. configure (with your options + the --with-jpeg-dir)
> 3. 'make clean ; make ; make install
>
> --Jani
ok, i uninstalled libjpeg, recompiled it with --enable-shared, rm config.cache, recompiled php
including the --with-jpeg-dir=/usr/local and it worked. however, this brings up another question.
how do i get php with pdflib without libjpeg? i do not intend to use libjpeg therefore i dont want
installed. additionally if it must be there why isnt it listed as a dependancy of sorts?
Jim