Bug #1105: Compile of php3 as a apache DSO fails
| From: | mbartsch at grupoweb dot cl | Date: | Mon, 01 Feb 1999 01:04:18 +0000 |
| Subject: | Bug #1105: Compile of php3 as a apache DSO fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3811@lists.php.net to get a copy of this message | ||
From: mbartsch@grupoweb.cl
Operating system: Linux 2.2.1 + Glibc 2.0.7
PHP version: 3.0.6
PHP Bug Type: Compile Failure
Bug description: Compile of php3 as a apache DSO fails
php 3.0.6 fails to compile with:
./configure --prefix=/usr \
--with-apxs=/usr/sbin/apxs \
--with-config-file-path=/usr/lib \
--enable-debug=no \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--with-system-regex \
--with-mysql \
--with-gd
with the next error:
ranlib libmodphp3-so.a
/usr/sbin/apxs -c -o libphp3.so '-Wl,-rpath /usr/local/lib/mysql' -L/usr/local/lib/mysql
-lmysqlclient @FDFTK_LIBS@ mod_php3.c libmodphp3-so.a
gcc -O2 -m486 -fno-strength-reduce -DLINUX=2 -fpic -DSHARED_MODULE -I/usr/include/apache -c
mod_php3.c
ld -Bshareable -o libphp3.so mod_php3.o @FDFTK_LIBS@ libmodphp3-so.a -rpath /usr/local/lib/mysql
-L/usr/local/lib/mysql -lmysqlclient
ld: cannot open @FDFTK_LIBS@: No such file or directory
apxs:Break: Command failed with rc=65536
make: *** [libphp3.so] Error 1
a easy hand fix is to delete @FDFTK_LIBS@ from makefile and it will compile,
but the bug is that these shouldn't be there :|
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net