Problems with php install from source, rh9 apache 1.3
| From: | James Packham | Date: | Mon, 29 Dec 2003 12:34:55 +0000 |
| Subject: | Problems with php install from source, rh9 apache 1.3 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9864@lists.php.net to get a copy of this message | ||
Hi I'm trying to install apache with php on my Redhat 9 box from source
(I need to run apache 1.3, rather than 2). I have apache and mod_ssl
running ok, so I moved onto getting php up and running. I made a little
script to configure php, which goes as follows:
#!/bin/sh
CC="gcc" \
LDFLAGS="-lstdc++" \
CPPFLAGS="-I/usr/kerberos/include" \
"./configure" \
"--with-apxs=/usr/local/apache/bin/apxs" \
"--with-mysql=/usr/" \
"--with-openssl=/usr/" \
"--with-imap=/usr/" \
"--with-gd=/usr/" \
"--with-ldap=/usr/" \
"--enable-ftp" \
"--with-kerberos" \
"--enable-sysvsem" \
"--enable-sysvshm" \
"--enable-sockets" \
"$@"
which seems to work fine and the make runs without hitch, but when I go
to make install:
Installing PHP CLI binary: /usr/local/bin/
[various positive looking output]
Installing PEAR environment: /usr/local/lib/php/
/usr/src/apache/php-4.3.4/sapi/cli/php: relocation error:
/usr//lib/libmysqlclient.so.10: symbol errno, version GLIBC_2.0 not
defined in file libc.so.6 with link time reference
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
Hmmm something that pear doesn't like right? I've googled around, tried
lots of fixes recommended by people, even though they were all
installing different software. I still don't have a fix though, or a
clue the problem is (though I'm guessing it's something I'm missing from
my script?)
Can anybody make any recommendations please? I'm pretty much stuck!
Thanks!
~James~