|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5108 Cannot install with fdftk support
Submitted: 2000-06-18 09:34 UTC Modified: 2001-03-18 04:44 UTC
From: izauddin at magnifix dot com dot my Assigned:
Status: Closed Package: FDF related
PHP Version: 4.0.0 Release OS: Redhat 6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: izauddin at magnifix dot com dot my
New email:
PHP Version: OS:


 [2000-06-18 09:34 UTC] izauddin at magnifix dot com dot my
Installed fdftk4_05 from Adobe. Copied the required header file fdftk.h into
/usr/local/include/FdfTk.h and the library into 

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
-lm -ldl -lcrypt -lnsl  -lresolv 1>&5
/usr/local/lib/ undefined reference to `_xstat'
/usr/local/lib/ undefined reference to `__setjmp'
/usr/local/lib/ 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() {
; return 0; }


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-20 03:58 UTC]
Does this problem still persist with more recent version of php (from CVS or ??

 [2000-09-03 18:17 UTC]
No feedback from user. Closed.

 [2000-12-05 21:22 UTC]
This still happens in 4.0.4RC4, exactly as stated.

 [2001-03-18 04:44 UTC]
You should copy the library from this directory
in the package from Adobe:


Then it works. Also, get the latest CVS checkout of PHP to 
get the working fdf extension. 


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 29 05:03:39 2023 UTC