Re: php 4.0.6, pdflib 4.0.1, mac osx

From: Date: Fri, 31 Aug 2001 19:24:11 +0000
Subject: Re: php 4.0.6, pdflib 4.0.1, mac osx
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4141@lists.php.net to get a copy of this message
On Friday, August 31, 2001, at 01:54 PM, Jani Taskinen wrote:
Could you paste the last 20 lines of your config.log ? --Jani Yep...
configure:40416: checking for the location of libtiff configure:40460: checking for TIFFOpen in -ltiff configure:40481: cc -o conftest -g -O2 -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -L/usr/local/ssl/lib -L/usr/local/ssl/lib -L/usr/local/lib/mysql -L/usr/local/lib/mysql -L/usr/local/lib -L/usr/local/lib conftest.c -ltiff
            -L/usr/local/lib
           -ljpeg -lz -lmysqlclient -lz -lz -lssl -lcrypto -lm  1>&5
configure:40675: checking for PDF_show_boxed in -lpdf configure:40696: cc -o conftest -g -O2 -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -L/usr/local/ssl/lib -L/usr/local/ssl/lib -L/usr/local/lib/mysql -L/usr/local/lib/mysql -L/usr/local/lib -L/usr/local/lib conftest.c -lpdf
          -L/usr/local/lib
         -ltiff -ljpeg -lz -lmysqlclient -lz -lz -lssl -lcrypto -lm  1>&5
/usr/bin/ld: /usr/local/lib/libpdf.dylib is input for the dynamic link editor, is not relocatable by the static link editor again
configure: failed program was: #line 40685 "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 PDF_show_boxed(); int main() { PDF_show_boxed() ; return 0; }
On Fri, 31 Aug 2001, Steve Cayford wrote:
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


« previous php.install (#4141) next »