PHP 4.0 and fdftk compile problem

From: Date: Sat, 17 Jun 2000 14:17:11 +0000
Subject: PHP 4.0 and fdftk compile problem
Groups: php.general 
Request: Send a blank email to php-general+get-2129@lists.php.net to get a copy of this message
Hi, I try to install php 4.0 on RedHat 6.2 with fdftk support, but having problem. I already browse thru the mailing list and have tried the soultion as stated. I already grab the fdftk4_05 from adobe and copied the fdftk.h into /usr/local/include/FdfTk.h and the libfdftk.so into /usr/local/lib/libFdfTk.so I run ./configure --with-apxs=/usr/sbin/apxs \ --with-fdftk I got the following error : checking whether to include fdftk support... yes checking for FDFOpen in -lFdfTk... no configure: error: fdftk module requires fdftk 2.0 The last section of my config.log contains the following statement :- configure:11472: checking whether to include fdftk support configure:11606: checking for FDFOpen in -lFdfTk configure:11625: gcc -o conftest -g -O2 -DEAPI=1 conftest.c -lFdfTk -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5 /usr/local/lib/libFdfTk.so: undefined reference to `_xstat' /usr/local/lib/libFdfTk.so: undefined reference to `__setjmp' /usr/local/lib/libFdfTk.so: undefined reference to `_fxstat' collect2: ld returned 1 exit status configure: failed program was: #line 11614 "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 FDFOpen(); int main() { FDFOpen() ; return 0; } Do anybody have sucessful compile php 4.0 with fdftk support on RedHat 6.2 ? Thanks for any information. Regards Din

« previous php.general (#2129) next »