Re: [PHP4BETA] pdflib and thread support broken in 4.0b2? gd and snmp update?
| From: | Chris Cosentino | Date: | Thu, 26 Aug 1999 20:03:42 +0000 |
| Subject: | Re: [PHP4BETA] pdflib and thread support broken in 4.0b2? gd and snmp update? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3767@lists.php.net to get a copy of this message | ||
Sam,
> [I recommend 1.3.9 (downloadable from my site) because Zeev says that APXS
> with PHP4 was dodgy till now, and that it only worked by fluke before.]
Updated my Source, Binary, and Devel with your 1.3.9 RPMs
> try:
>
> ./configure --with-apxs=/use/sbin/apxs --with-mysql \
> --with-pdflib
>
> for now so we are sure that we are debugging less.
>
> > /usr/local/lib/libpdf.so: undefined reference to `TIFFSetWarningHandler'
>
> Definately found it. Also - just for now, ditch all the libpdf.so and
just
> leave the .a
Ditched all my libpdf stuff, installed the libpdf rpm you made.
ran .configure as you said above... and it died at the same place, but at
least now I am getting different error messages :)
my config.log says:
configure:10202: gcc -o conftest -g -O2 -g -rdynamic
onftest.c -lpdf -lgd -lm -lcrypt -lnsl -lresolv 1>&5
/usr/lib/libpdf.a(p_filter.o): In function `pdf_compress':
/tmp/pdflib-2.01/pdflib/p_filter.c:232: undefined reference to
`deflateInit_'
/tmp/pdflib-2.01/pdflib/p_filter.c:249: undefined reference to `deflate'
/tmp/pdflib-2.01/pdflib/p_filter.c:264: undefined reference to `deflate'
/tmp/pdflib-2.01/pdflib/p_filter.c:274: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
configure: failed program was:
#line 10191 "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. */
Now, I screwed up royaly somewhere. I had deleted the /tmp/pdflib-2.01
directory thinking that it was probably flubbing things up.
The /usr/lib/libpdf is a ln -s of libpdf2.01.a that came out of your libpdf
RPM.
Now I have NO clue why the heck it is referencing a deleted directory. How
do I clean out pdflib completely and start from scratch?
I'd give you telnet access but I am behind a corporate firewall :(
Thanks much!