PHP :: Bug #33185 :: --enable-session=shared does not build
| Bug #33185 | --enable-session=shared does not build | ||||
|---|---|---|---|---|---|
| Submitted: | 2005-05-30 16:37 UTC | Modified: | 2005-05-30 17:14 UTC | ||
| From: | darryl-phpbugs at darrylmiles dot org | Assigned: | |||
| Status: | Closed | Package: | Compile Failure | ||
| PHP Version: | 5.0.4 | OS: | Linux | ||
| Private report: | No | CVE-ID: | None | ||
[2005-05-30 16:37 UTC] darryl-phpbugs at darrylmiles dot org
Description: ------------ Building with: ./configure --prefix=/opt/php5 --with-apxs2=/opt/apache2/bin/apxs --enable-memory-limit --enable-track-vars --enable-safe-mode --enable-shared=all --with-all=shared,all --with-mysql=shared --with-zlib=shared --with-openssl=shared --with-bz2=shared --with-gd=shared --with-freetype=shared --with-mssql=shared --with-snmp=shared --enable-sockets=shared --enable-session=shared --enable-pcre=shared --enable-ob=shared --enable-posix=shared 2>&1 | tee CONFIGURELOG The "--enable-session=shared" causes the error with just "--enable-session" the build is ok. I compile all my extensions as modules (like apache/httpd) During linking: ext/sqlite/sqlite.lo(.text+0x1376): In function `zm_startup_sqlite': /usr2/BUILD/webtraffik/php-5.0.4/ext/sqlite/sqlite.c:1015: undefined reference to `php_session_register_module' ext/sqlite/sess_sqlite.lo(.text+0x31e): In function `ps_gc_sqlite': /usr2/BUILD/webtraffik/php-5.0.4/ext/sqlite/sess_sqlite.c:182: undefined reference to `ps_globals' ext/sqlite/sess_sqlite.lo(.text+0x34f):/usr2/BUILD/webtraffik/php-5.0.4/ext/sqlite/sess_sqlite.c:182: undefined reference to `ps_globals' ext/sqlite/sess_sqlite.lo(.data+0x1c): In function `ps_open_sqlite': /usr2/BUILD/webtraffik/php-5.0.4/ext/sqlite/sess_sqlite.c:46: undefined reference to `php_session_create_id' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-05-30 17:14 UTC] sniper@php.net