ID: 21466
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: *Compile Issues
Operating System: RedHat Linux
PHP Version: 4.3.0
New Comment:
I paste more then last 21 lines 'cause there's lot of noticies about
libpdf.so
int main() {
SablotGetOptions()
; return 0; }
configure:74894: checking for YAZ support
configure:75407: checking whether to include YP support
configure:75875: checking for ZIP support
configure:75941: checking for zzip_open in -lzzip
configure:75960: gcc -o conftest -O2 -I/usr/local/ssl/include/openssl/
-L/usr/lib
-Wl,-rpath,/usr/lib/lib -L/usr/lib/lib -Wl,-rpath,/usr/local/lib
-L/usr/local/lib conftest.c -lzzip -lsablot -liconv -lexpat -lpdf -lz
-ltiff -lpng -ljpeg -lcrypt -lpam -lpng -lz -ljpeg -lz -lcrypt -lresolv
-lm -ldl -lnsl -lcrypt 1>&5
/usr/lib/libpdf.so: undefined reference to `atexit@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `fgetc@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to
`__strtod_internal@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `ldiv@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `vsprintf@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `strchr@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `feof@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `ungetc@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `localtime@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `strcmp@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `fprintf@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `getenv@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `fflush@@GLIBC_2.0'
/usr/local/lib/libsablot.so: undefined reference to `__rtti_user'
/usr/lib/libpdf.so: undefined reference to `memchr@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `ftell@@GLIBC_2.0'
/usr/local/lib/libsablot.so: undefined reference to `__rtti_si'
/usr/lib/libpdf.so: undefined reference to `___brk_addr@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `malloc@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `fread@@GLIBC_2.0'
/usr/local/lib/libsablot.so: undefined reference to `__throw'
/usr/lib/libpdf.so: undefined reference to `strpbrk@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `stdout@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `stderr@@GLIBC_2.0'
/usr/local/lib/libsablot.so: undefined reference to `terminate(void)'
/usr/lib/libpdf.so: undefined reference to `__sigsetjmp@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `vfprintf@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `fseek@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `setbuf@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `time@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `fgets@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `strstr@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `longjmp@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to
`__strtol_internal@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `qsort@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to
`__ctype_toupper@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `strncmp@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `realloc@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `strcat@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `__environ@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `memcpy@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `fclose@@GLIBC_2.1'
/usr/local/lib/libsablot.so: undefined reference to `__eh_pc'
/usr/lib/libpdf.so: undefined reference to `__curbrk@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `exit@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `calloc@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `sscanf@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `free@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `memset@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `__ctype_b@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `strncpy@@GLIBC_2.0'
/usr/local/lib/libsablot.so: undefined reference to `__rtti_class'
/usr/lib/libpdf.so: undefined reference to `fopen@@GLIBC_2.1'
/usr/lib/libpdf.so: undefined reference to `sprintf@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `fwrite@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `_IO_getc@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `modf@@GLIBC_2.0'
/usr/lib/libpdf.so: undefined reference to `strcpy@@GLIBC_2.0'
configure: failed program was:
#line 75949 "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 zzip_open();
int main() {
zzip_open()
; return 0; }
Previous Comments:
------------------------------------------------------------------------
[2003-01-07 08:46:57] [EMAIL PROTECTED]
Could you please include 10 more lines or so that appear above the
lines you've already pasted.
------------------------------------------------------------------------
[2003-01-07 06:23:01] [EMAIL PROTECTED]
here is last 11 lines from config.log:
configure: failed program was:
#line 75949 "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 zzip_open();
int main() {
zzip_open()
; return 0; }
------------------------------------------------------------------------
[2003-01-06 16:25:47] [EMAIL PROTECTED]
When you get 'configure: error: zziplib module requires zzlib >=
0.10.6'
Open the file called config.log and look at the text at the very bottom
of the file. There should be a reason indicating why test for zzlib had
failed, please include that text in your reply.
------------------------------------------------------------------------
[2003-01-06 11:25:22] [EMAIL PROTECTED]
Hi guys,
I perhaps found a "mystery" bug in ./configure process...
check out when I try:
CFLAGS='-O2 -I/usr/local/ssl/include/openssl/' \
./configure \
--with-apache=../apache_1.3.27 \
--with-mysql \
--enable-track-vars \
--enable-ftp \
--with-gettext \
--with-imap=/usr/lib \
--with-pdflib=/usr/local \
--enable-static-pdflib \
--with-gd \
--with-tiff-dir=/usr/lib \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-zlib-dir=/usr/include \
--enable-xslt \
--with-xslt-sablot \
--with-zip
I got an error message:
configure: error: zziplib module requires zzlib >= 0.10.6.
zzlib version 0.10.66 I has installed on my system in path:
/usr/local/lib
when I kick out options: --enable-xslt AND --with-xslt-sablot then the
configure process done OK.
When kick out --with-zip AND leave there both --enable-xslt AND
--with-xslt-sablot then the configure done OK again.
The problem is when together:
--enable-xslt \
--with-xslt-sablot \
--with-zip
On my home server RedHat 8.0 everything OK, on the production server
RedHat 7.1 + upgrades I found this "bug".
Feedback please.
Regards
Lubo Kopacek, Slovakia
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21466&edit=1