PHP 4.0 Bug #5108: Cannot install with fdftk support
| From: | izauddin at magnifix dot com dot my | Date: | Sun, 18 Jun 2000 07:34:55 +0000 |
| Subject: | PHP 4.0 Bug #5108: Cannot install with fdftk support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21667@lists.php.net to get a copy of this message | ||
From: izauddin@magnifix.com.my
Operating system: Redhat 6.2
PHP version: 4.0.0 Release
PHP Bug Type: Installation problem
Bug description: Cannot install with fdftk support
Installed fdftk4_05 from Adobe. Copied the required header file fdftk.h into
/usr/local/include/FdfTk.h and the library libfdftk.so into
/usr/local/lib/libFdfTk.so
Run configure as follow :-
./configure --with-apxs=/usr/sbin/apxs --with-fdftk
Produce this 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; }