On Wed, Dec 13, 2000 at 03:27:48PM +0100 or thereabouts, Stephan Engelke wrote: > Hi everyone, > > currently I am trying to compile PHP 4.0.3pl1 as a DSO for Apache > 1.3.14 on a pure Potato (2.2r2) system. So far without sucess. > The software compiles just fine, but during the final linking process > I get the following error message: > > /usr/bin/ld: .libs/libphp4.so: undefined versioned symbol name > __ns_name_unpack@@GLIBC_2.1 > /usr/bin/ld: failed to set dynamic section sizes: Bad value > collect2: ld returned 1 exit status > make[1]: *** [libphp4.la] Error 1 > make[1]: Leaving directory `/opt/src/php/cvs/php4' > > The only configure-option I used was "--with-apxs".
well that's the problem. u need "--with-config-file-path=/usr/local/apache/conf" too and make sure that "--with-apxs" points to where the apache apxs fine is. > I am using an Apache which has also been compiled from scratch, not > the Debian-package. yup, i previously used all .deb packages for my lamp installation and can't get past the mysql_connect() undefined function problem. using the source fixed that. > > In the PHP-INSTALL list's archive someone mentioned, that the > c library used in Potato may be too old. Could someone confirm or > deny this? So far, I am shying away from an upgrade to the unstable > distribution. not true. i too have debian 2.2 updated almost daily and have lamp installed successfully (from source that is). > > Has anyone succeded in compiling Apache/PHP 4 on a Potato system? yes me. :-) -- -------------------------------------------------------------------- Key fingerprint = 9DE1 5825 77B4 FF45 7485 D3EB DCCF DE48 09B6 4426 -------------------------------------------------------------------- "Who's watching the watchmen?"
pgpNvqcoJ4YVE.pgp
Description: PGP signature