|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-07-22 09:20 UTC] sas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 14:00:01 2025 UTC |
when mod_php4 configured via CFLAGS="-fPIC" ./configure --prefix=/usr \ --with-apxs=/usr/sbin/apxs \ --with-config-file-path=/etc/httpd \ --enable-safe-mode \ --with-exec-dir=/usr/bin \ --with-system-regex \ --disable-debug \ --with-zlib \ --enable-debugger \ --enable-magic-quotes \ --enable-track-vars httpd fails to load libphp3.so: Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: fstat adding the -lc flag during the last step of compile solves the problem: ld -Bshareable -o libphp4.so ./mod_php4.o libmodphp4-so .a -L/root/php-4.0b1/ext/pcre/pcrelib -lpcre -lgdbm -lpam -lz -Llibzend -lzend -Lext -lphpext -L/root/php-4.0b1/ext/pcre/pcrelib -lpcre -lgdbm -lpam -lz -ldl -lttf -lgd -lm -lcrypt -lnsl -lresolv -lc