problem compiling php5
| From: | Walter A. Boring IV | Date: | Tue, 10 Feb 2004 23:04:54 +0000 |
| Subject: | problem compiling php5 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-7719@lists.php.net to get a copy of this message | ||
Howdy,
I'm trying to build php5 from cvs. I'm running on redhat 9. At the end of
the compile, the linker seems to bail.
/usr/bin/ld: .libs/libphp5.so: undefined versioned symbol name operator
delete(void*)@@GLIBCPP_3.2
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
[root@hemna php-src]# ld --version
GNU ld version 2.13.90.0.18 20030206
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
[root@hemna php-src]# gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Here is my configure line
./configure \
--with-oci8=/u01/app/oracle/product/8.1.7 \
--enable-sigchild \
--with-mcrypt \
--with-gd \
--with-png-dir=/usr \
--with-jpeg-dir=/usr \
--with-zlib-dir=/usr \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--enable-trackvars \
--with-xml \
--with-zlib \
--with-gdbm \
--with-dom \
--with-mysql=/usr \
--enable-mbstring \
--with-gettext \
--enable-tokenizer \
--enable-sockets \
--with-kerberos=/usr/kerberos \
--with-openssl \
--with-apxs=/usr/local/apache/bin/apxs \
--with-pgsql \
--with-msession \
--enable-mbstr-enc-trans;