php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1105 Compile of php3 as a apache DSO fails
Submitted: 1999-01-31 20:04 UTC Modified: 1999-01-31 20:08 UTC
From: mbartsch at grupoweb dot cl Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.6 OS: Linux 2.2.1 + Glibc 2.0.7
Private report: No CVE-ID: None
 [1999-01-31 20:04 UTC] mbartsch at grupoweb dot cl
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 :|

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-01-31 20:08 UTC] rasmus
Fixed in CVS a while ago.  The patch is here:
http://cvs.php.net/cvsweb.cgi/configure.in.diff?r1=1.295&r2=1.296
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 09:01:31 2024 UTC