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;
a) your system is borked
b) your tools are borked
c) your sources are borked
Works fine for me.
FYI: It's considered good practise to try with the minimal
set of configure options before reporting anything and
wasting our (my) time.
(--disable-all is your friend USE IT!)
--Jani
p.s. Whatta hell is --enable-trackvars? Anything like that
haven't existed since PHP3..
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;
Quoting Jani Taskinen sniper@iki.fi:
a) your system is borked b) your tools are borked c) your sources are borked Works fine for me. FYI: It's considered good practise to try with the minimal set of configure options before reporting anything and wasting our (my) time. (--disable-all is your friend USE IT!)
--disable-all seemed to have worked. I guess I'll just try and narrow it down
to which extension is busting the build.
Thanks
Walt