Yup, tried it.
./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs
--with-openssl --enable-trans-sid --with-pdflib=/usr/local
--enable-shared=pdflib --with-mysql=/usr/local --with-jpeg-
dir=/usr/local --with-tiff-dir=/usr/local
This gives me the error:
configure: error: pdflib extension requires at least pdflib 3.x.
and the config.log error says:
/usr/bin/ld: /usr/local/lib/libpdf.dylib is input for the dynamic link
editor, is not relocatable by the static link editor again
On Friday, August 31, 2001, at 01:29 PM, Jani Taskinen wrote:
>
> By using the correct configure options you would succeed:
>
> --with-pdflib=/usr/local
>
> You might also need to use --with-jpeg-dir , --with-png-dir ,
> --with-tiff-dir if these libraries are not in your libpath.
>
> --Jani
>
>
> On Fri, 31 Aug 2001, Steve Cayford wrote:
>
>> From browsing the archives, it looks like getting pdflib into php takes
>> luck and persistence to achieve the magical configure options, and I'm
>> running low on both.
>>
>> I'm trying to get pdflib 4.0.1 to work with php 4.0.6 and apache 1.3.20
>> on mac osx 10.0.3
>>
>> php and apache work great and I'm eager to get pdflib up and running.
>>
>> It seems that my attempts fail in one of two ways: if I don't set the
>> php configure option --with-pdflib=/usr/local/lib (with the complete
>> directory like that), then configure stops at pdf_show_boxed with the
>> error: "pdflib extension requires at least pdflib 3.x. You may also
>> need
>> libtiff and libjpeg."
>>
>> The config.log shows this error: "/usr/bin/ld: /usr/lib/libpdf.dylib is
>> input for the dynamic link editor, is not relocatable by the static
>> link
>> editor again" (/usr/lib/libpdf.dylib is a symbolic link I made to
>> /usr/local/lib/libpdf.dylib), which is odd, since it would seem to be
>> finding the right directory.
>>
>> If I do set the option --with-pdflib=/usr/local/lib, then everything
>> builds just fine, but there doesn't seem to be any pdflib functionality
>> in php.
>>
>> I saw a couple references to listing libpdf_php.so in the php.ini file.
>> On mac osx I would assume this to be libpdf_php.dylib instead, but I
>> don't find either of these anywhere. Another reference said to download
>> this file as a binary and install it manually, but there is no binary
>> pdflib with php support listed for mac osx.
>>
>> Hmm. There it is. Any ideas, suggestions?
>>
>> Here are my latest configure options for pdflib:
>> ./configure --enable-php --enable-cxx --enable-shared-pdflib
>> --enable-static --enable-shared
>>
>> and my latest attempt for php:
>> ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs
>> --with-openssl --enable-trans-sid --with-pdflib=/usr/local/lib
>> --enable-shared=pdflib --with-mysql=/usr/local --with-jpeg-
>> dir=/usr/local --with-tiff-dir=/usr/local
>>
>>
>>
>
>
> --
> 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]