Re: PHP 4.0 Bug #5108: Cannot install with fdftk support
| From: | Faisal Haji Mustaffa | Date: | Mon, 19 Jun 2000 03:13:16 +0000 |
| Subject: | Re: PHP 4.0 Bug #5108: Cannot install with fdftk support | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21703@lists.php.net to get a copy of this message | ||
izauddin@magnifix.com.my wrote:
> 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; }
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
try /sbin/ldconfig then compile it again...