|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-09-13 23:48 UTC] mike dot johnson at isunnetworks dot com
PHP compiled with following arguments:
./configure \
--target=%{_target_platform} \
--prefix=%{_prefix} \
--with-config-file-path=%{_sysconfdir} \
--disable-debug \
--enable-pic \
--enable-inline-optimization \
$* \
--with-exec-dir=%{_bindir} \
--with-regex=system \
--with-jpeg-dir=%{_prefix} \
--with-png \
--with-db2 \
--with-gd \
--with-oci8 \
--with-zlib \
--with-gdbm \
--enable-debugger \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-yp \
--enable-ftp \
--with-xml
ORACLE_HOME is defined.
Oracle version is 8.1.6
Apache version is 1.3.12
When I start apache with php enabled, it crashes:
[mike@io mike]$ httpd -t
Syntax OK
Segmentation fault
gdb:
(gdb) r -t
Starting program: /usr/sbin/httpd -t
Syntax OK
Cannot access memory at address 0x40b17bb4
(gdb) where
#0 0x4000bd99 in _dl_debug_state () at dl-debug.c:56
#1 0x401b60c6 in _dl_close (map=0x80b4fc8) at dl-close.c:195
#2 0xaff0d in ?? ()
#3 0xaff0d in ?? ()
#4 0xaff0d in ?? ()
#5 0xaff0d in ?? ()
#6 0xaff0d in ?? ()
#7 0xaff0d in ?? ()
#8 0xaff0d in ?? ()
#9 0xaff0d in ?? ()
#10 0xaff0d in ?? ()
#11 0xaff0d in ?? ()
#12 0xaff0d in ?? ()
#13 0xaff0d in ?? ()
#14 0xaff0d in ?? ()
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Okay, it works now. The fix: From: Thies Arntzen <thies@digicol.de> please relink your apache adding -lpthread to the LDFLAGS. the problem here is that a executable thats *not* linked agains -lpthread cannot load a shared library that is liked against -lpthread. (libphp4.so - linked against -lclntsh linked against -lpthread). this is a glibc-2.1 bug that supposed to be fixed in 2.2. plz verify and close the bug-report! tc