Re: php 4.0.6 configure problem
| From: | Jani Taskinen | Date: | Fri, 07 Sep 2001 00:02:53 +0000 |
| Subject: | Re: php 4.0.6 configure problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4226@lists.php.net to get a copy of this message | ||
I guess this must be the same problem they speak about here:
http://www.suse.com/en/support/oracle/db/817_71.html
ie. The oracle libs were linked with glibc 2.1.x but you have glibc 2.2.x
--Jani
On Thu, 6 Sep 2001, Tom Obermayr wrote:
>hiya!
>
>I'm trying to compile php4.0.6 on a redhat 7.1 machine (gcc-2.96-85,
>glibc-2.2.2-10), and can't even get the configure to run successfully
>(Something is likely to be messed up here, because the configure script was
>not able to detect a simple feature on your platform.). I need to compile
>my own version of php, since I have to include oracle support and there is
>no rpm available.
>
>If you know how to solve the below problem, please reply by email, since I
>just can't seem to figure out what is going wrong here.
>
>thanks alot,
>tom.
>
>contents of debug.log:
>
>CONFIGURE: './configure' '--prefix=/usr'
>'--with-config-file-path=/etc'
>'--disable-debug' '--enable-pic' '--enable-shared'
>'--enable-inline-optimization' '--with-exec-dir=/usr/bin'
>'--with-regex=system' '--without-gd' '--with-jpeg-dir=/usr'
>'--with-png'
>'--with-zlib' '--with-gdbm' '--enable-debugger'
>'--enable-magic-quotes'
>'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem'
>'--enable-sysvshm' '--enable-track-vars' '--enable-yp'
>'--enable-ftp'
>'--enable-wddx' '--without-mysql' '--without-oracle'
>'--with-oci8=/usr/ora8/m01/app/oracle/product/8.1.7' '--with-xml'
>'--with-apxs'
>CC: gcc
>CFLAGS: -g -O2
>CPPFLAGS: -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8
>CXX:
>CXXFLAGS:
>INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend
>-I/usr/ora8/m01/app/oracle/product/8.1.7/rdbms/public
>-I/usr/ora8/m01/app/oracle/product/8.1.7/rdbms/demo
>LDFLAGS: -Wl,-rpath,/usr/ora8/m01/app/oracle/product/8.1.7/lib
>-L/usr/ora8/m01/app/oracle/product/8.1.7/lib
>LIBS: -lm -ldl -lgdbm -lz -ldl -lclntsh
>DLIBS:
>SAPI: apache
>PHP_RPATHS: /usr/ora8/m01/app/oracle/product/8.1.7/lib
>uname -a: Linux localhost.localdomain 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT
>2001 i686 unknown
>
>gcc -o conftest -g -O2 -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT
>-DSUPPORT_UTF8 -Wl,-rpath,/usr/ora8/m01/app/oracle/product/8.1.7/lib
>-L/usr/ora8/m01/app/oracle/product/8.1.7/lib conftest.c -lm -ldl -lgdbm -lz
>-ldl -lclntsh 1>&5
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
>reference to `__lxstat64@GLIBC_2.2'
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
>reference to `__fxstat64@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
>
>
>