Problem building php 4.06 under Red Hat 7.1
| From: | David Merberg | Date: | Thu, 16 Aug 2001 20:09:58 +0000 |
| Subject: | Problem building php 4.06 under Red Hat 7.1 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4001@lists.php.net to get a copy of this message | ||
Hello,
I am trying to install php 4.06 under apache_1.3.20, running on Red Hat
Linux 7.1. I'm getting error messages in the "Generating Files" step
when running "configure". The debug log refers to undefined
references in GLIBC_2.2 (see below). I know there are issues with Red Hat 7
and glibc. We have the 6.2 compatibility packages installed. I've tried to
configure php both with and without the following environmental variables in
effect:
LD_ASSUME_KERNEL=2.2.5
LDEMULATION=elf_i386_glibc21
GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/
I hope someone can help.
Thanks,
David Merberg
Phylos, Inc.
----------------------------------------debug.log---------------------------
----------------------------------------------
CONFIGURE: './configure' '--with-mysql' '--with-oracle'
'--with-apache=../apache_1.3.20' '--enable-track-vars'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/src/apache_1.3.20/src/include
-I/usr/local/src/apache_1.3.20/src/os/unix -I$(top_builddir)/Zend
-I/usr/local/src/php-4.0.6/ext/mysql/libmysql
-I/u01/app/oracle/product/8.1.7/rdbms/public
-I/u01/app/oracle/product/8.1.7/rdbms/demo
LDFLAGS: -Wl,-rpath,/u01/app/oracle/product/8.1.7/lib
-L/u01/app/oracle/product/8.1.7/lib
LIBS: -lm -ldl -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lclntsh
DLIBS:
SAPI: apache
PHP_RPATHS: /u01/app/oracle/product/8.1.7/lib
uname -a: Linux linux01 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686
unknown
gcc -o conftest -g -O2 -DSUPPORT_UTF8
-Wl,-rpath,/u01/app/oracle/product/8.1.7/lib
-L/u01/app/oracle/product/8.1.7/lib conftest.c -lm -ldl -lcrypt -lresolv -lm
-ldl -lnsl -lresolv -lclntsh 1>&5
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `__res_nclose@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `__sysctl@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_list_unlock@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_file@GLIBC_2.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `__lxstat64@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `getrlimit@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_list_resetlock@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_begin@GLIBC_2.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `svc_getreq_poll@GLIBC_2.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `__strndup@GLIBC_2.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `svc_max_pollfd@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `__libc_sigaction@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_next@GLIBC_2.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `__fxstat64@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_end@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `setrlimit@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_list_lock@GLIBC_2.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `__res_init@GLIBC_2.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `__res_ninit@GLIBC_2.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `svc_pollfd@GLIBC_2.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `__xstat64@GLIBC_2.2'
collect2: ld returned 1 exit status