Either the library is missing or it is not being found. If you are sure
pdflib was built correct, then try use --with-pdflib=[pdflib install
directory].
I had this same problem but specifying the pdflib directory fixed it.
Dean
-----Original Message-----
From: Jani Taskinen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 10:18 AM
To: Charles Homan
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] --with-pdflib... stops on show_boxed
Check your config.log for the reason why the compile test fails.
Most likely some library missing..
--Jani
On Thu, 3 May 2001, Charles Homan wrote:
>I have had this same error - EXACTLY! If someone can help. Please do.
>
>> From: [EMAIL PROTECTED] (Andrew Apold)
>> Newsgroups: php.install
>> Date: 24 Apr 2001 10:52:31 -0700
>> Subject: [PHP-INST] --with-pdflib... stops on show_boxed
>>
>> I've seen in the annotations and other places at least a dozen other
>> people have
>> this problem.... and about a dozen different solutions from using links,
>> using
>> a new pdf.c, omitting png support, or even installing an rpm... none of
>> them
>> seem to help my situation.
>>
>>
>>
>> I'm using php 4.04pl1., the 11 january (latest AFAIK).
>>
>> Suse linux distribution, 2.4 kernal
>>
>> pdflib 4.0.0.
>>
>> Someone suggested using the binary on pdflib's site, tried that,
>> also no go. Weird, though, the pdflib-4.0.0-Linux.tar.gz file
>> they have as a binary contains files who go to a pdflib-3.0.0
>> directory. Either way, that didn't help.
>>
>> Every time configure pdflib with
>>
>> ./configure --enable-shared --enable-shared-pdflib --enable-php
>>
>> when I tried the binary, that version didn't seem to have an
>> --enable-php
>> configure option. Regardless, it is supposed to be enabled by default.
>>
>> As far as I can tellthe shared stuff goes to /usr/local/lib, which is
>> where php looks for it by default.
>>
>> I configure, make, make test, as per instructions. Tried a make install
>> too to ee fi that would help.
>>
>> Run ldconfig, as various accounts of this error claim this will solve
>> it.
>>
>> then in php directory, using the new pdf.c from cvs places in
>> .../ext/pdf,
>> do a ./configure --with-mysql --with-apxs --with-pdflib
>>
>> Samne response every time:
>>
>> checking whether to include Pdflib 3.x support... yes
>> checking for PDF_show_boxed in -lpdf... (cached) no
>>
>> earlier ones didn't have the cached I think. hmmm. maybe it isn't
>> rechecking with all my latest attempts?
>>
>> configure: error: pdflib extension requires at least pdflib 3.x. You
>> may also need libtiff and libjpeg. If so
>>
>> and it cuts off right there.
>>
>> I had this thing working under php3 and an older pdflib about a month or
>> two ago (server rebuilt since then).
>> Back then I did it without jpeg or tiff libraries, too. The stuff I'm
>> doing doesn't require them.
>>
>> Regardless, I have both libtiff and libjpeg installed, following links
>> to them from pdflib.com's website.
>> Have zlib installed.
>>
>> I'm at wits end with this one, been over a week I've not been able to
>> get it working. Half a mind to
>> try clibpdf, though it would mean altering all my php files...
>>
>>
>> oh, if I try --with-pdflib=/usr/local/lib, it compiles through without
>> error, but
>> looking back on the log it says:
>>
>> checking whether to include Pdflib 3.x support... no
>>
>> so it compiles, but is no use, no support.
>>
>> any help would be greatly appreciated.
>>
>> --
>> PHP Install Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>
>
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]