Click to See Complete Forum and Search --> : PHP4 and FdfTk
I have been trying to install the FdfTk functions in php4, but to no avail. Has anyone succeeded in doing this? If so would they care to send me some brief instructions as to which files to use as I can not figure out which ones to use.
I have downloaded the fdftk version 4.05 and have placed fdftk.h in /usr/local/include and libfdf.so in usr/local/fdftk/lib. I have symbolically linked these files to FdfTk.h and libFdf.so
When I build php it exits with the following error.
configure: error: fdftk module requires fdftk lib 2.0.
Bad exit status from /var/tmp/rpm-tmp.26012 (%build)
Does anyone have any suggestions.
Thanks,
Chad
I am having the exact same problem. I wonder if it a bug?
I think that the problem is that you shall give the directory where ftftk is.
I have Php 4.0 source in /usr/src/php4.0.2 and I put the fdf file (i downloaded the file fdftk.tar) in the directory /usr/src/fdftk.
the fdf parameter shoud look like this
--with-fdftk=/usr/src/fdftk/lib/C/Unix/i586-linux
I hope this will help
Ibrahim
I downloaded to /usr/local/src/fdftk4_05 then copied fdftk.h to /usr/local/include/FdfTk.h and libfdftk.so to /usr/local/lib/libFdfTk.so.
Until I got the capital "F" and "T" letters correct, I got the same error as mentioned. However, with the capitals sorted, the build command command:-
./configure --with-fdftk --with-apxs=/usr/sbin/apxs
worked fine. I then went on to "make" and "make install".
Unfortunately, when I then tried to start Apache, I got the message:-
Syntax error on line 210 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: libFdfTk.so: cannot open shared object file: No such file or directory.
Versions: - php-4.0.4.pl1, Apache-1.3.12.
Any thoughts out there?
Did you get this working? I'm in the same boat right now...
Me too! : (
I found that there is a directory called ext/fdf in my php4 distribution. Does this has anything with that?
Maybe one new release of php has already everything we need to compile php with fdf..
Please anyone, help us out of this!
Thanks!
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.