Undefined session_adapt_flush
makoto@u 16:28:23/020604(...www/ap-php4)# /usr/pkg/sbin/apachectl start
Syntax error on line 206 of /usr/pkg/etc/httpd/httpd.conf:
Cannot load /usr/pkg/lib/httpd/mod_php4.so into server: /usr/pkg/lib/httpd/mod_php4.so: Undefined PLT symbol "session_adapt_flush" (reloc type = 21, symnum = 823)
/usr/pkg/sbin/apachectl start: httpd could not be started
上で読んでいる
mod_php4.so は
www/ap-php4/work/php-4.1.2/.libs/libphp4.so
から作られる。それが作られるのは次のような手順
cc -shared -nodefaultlibs stub.lo -Wl,--whole-archive
Zend/.libs/libZend.al sapi/apache/.libs/libsapi.al
main/.libs/libmain.al ext/mbstring/.libs/libmbstring.al
ext/standard/.libs/libstandard.al TSRM/.libs/libtsrm.al
-Wl,--no-whole-archive
-L/export/pkgsrc/www/ap-php4/work/.buildlink/lib Zend/.libs/libZend.al
-lcrypt -lresolv -lresolv -lcrypt sapi/apache/.libs/libsapi.al
main/.libs/libmain.al ext/mbstring/.libs/libmbstring.al
ext/standard/.libs/libstandard.al TSRM/.libs/libtsrm.al -lcrypt
-lresolv -lm -lresolv -lcrypt -Wl,--export-dynamic -Wl,-R/usr/pkg/lib
-Wl,--export-dynamic -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libphp4.so -o
.libs/libphp4.so
この中に、いくつか ext/ があるが、ext/session はない。
devel/php4-session/
で make make install すれば、
して、session.so が設置される
|