PHP 4.0 Bug #5108 Updated: Cannot install with fdftk support
| From: | sniper@php.net | Date: | Sun, 18 Mar 2001 09:44:00 +0000 |
| Subject: | PHP 4.0 Bug #5108 Updated: Cannot install with fdftk support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49276@lists.php.net to get a copy of this message | ||
ID: 5108
Updated by: sniper
Reported By: izauddin@magnifix.com.my
Old-Status: Open
Status: Closed
Bug Type: FDF related
Assigned To:
Comments:
You should copy the library from this directory
in the package from Adobe:
fdftk4_05/lib/C/Unix/i586-linux/GNU3.0/
Then it works. Also, get the latest CVS checkout of PHP to
get the working fdf extension.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-05 21:22:56] mrobinso@php.net
Re-opened.
This still happens in 4.0.4RC4, exactly as stated.
---------------------------------------------------------------------------
[2000-09-03 18:17:26] sniper@php.net
No feedback from user. Closed.
--Jani
---------------------------------------------------------------------------
[2000-08-20 03:58:11] sniper@php.net
Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ??
--Jani
---------------------------------------------------------------------------
[2000-06-18 09:34:55] izauddin@magnifix.com.my
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; }
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=5108&edit=2