PHP 4.0 Bug #4463 Updated: php 4.0rc2 vs. pdflib 3.0
| From: | Bug Database | Date: | Thu, 18 May 2000 10:41:42 +0000 |
| Subject: | PHP 4.0 Bug #4463 Updated: php 4.0rc2 vs. pdflib 3.0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18910@lists.php.net to get a copy of this message | ||
ID: 4463
User Update by: yale_yu@yahoo.com
Old-Status: Closed
Status: Feedback
Bug Type: Compile Failure
Description: php 4.0rc2 vs. pdflib 3.0
Last lines of config.log are as the following, it seems that the libtiff version is incorrect,
I'm using tiff-v3.5.5 downloaded from http://www.libtiff.org, if that's the problem, which version
I can use?
Thanks in advance.
Yale Yu
config.log
==========
configure:25095: checking for TIFFOpen in -ltiff
configure:25114: gcc -o conftest -g -O2 -L/usr/local/lib -L/usr/local/lib conf
test.c -ltiff -lpng -ljpeg -lm -lcrypt -lz -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng
-L/usr/local/lib 1>&5
/usr/ccs/bin/ld: /usr/local/lib/libtiff.sl: Not a valid object file (invalid version id)
collect2: ld returned 1 exit status
configure: failed program was:
#line 25103 "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 TIFFOpen();
int main() {
TIFFOpen()
; return 0; }
configure:25258: checking for PDF_show_boxed in -lpdf
configure:25277: gcc -o conftest -g -O2 -L/usr/local/lib -L/usr/local/lib conf
test.c -lpdf -ltiff -lpng -ljpeg -lm -lcrypt -lz -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng
-L/usr/local/lib -ltiff -L/usr/local/lib 1>&5
/usr/ccs/bin/ld: /usr/local/lib/libtiff.sl: Not a valid object file (invalid version id)
collect2: ld returned 1 exit status
configure: failed program was:
#line 25266 "configure"ternal prototype to avoid an error. */
#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 PDF_show_boxed();
int main() {
PDF_show_boxed()
; return 0; }
Full Bug description available at: http://bugs.php.net/version4/?id=4463