-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It appears that several modules/extensions don't work when built as
loadable extensions.
All software was built on Apple servers using the Apple Developer
Environment, I have tried the builds on owned machines running
current OSes with the same results to eliminate the possibility of
the ADE being at fault.
Building for apache 1.3.33 and everything except gmp works, the issue
occurs with apache 2 versions 2.0.53 and 2.2.4 (both I have installed).
If the extensions are built as bundled they appear to work properly
provided I force flat_namespace (some do build and work as
twolevel_namespace but they are rare), the issue is only when they
are built as loadable.
What I find odd about this problem is that none of the extensions
actually reference the missing symbols so I'm not sure what to make
of it other than it's a build bug but I'm not sure how to define it
or file it.
"either namespace" refers to "-twolevel_namespace" and "-
flat_namespace".
ones included that do work in apache 2: (forced as flat_namespace)
bcmath
dbase
filepro
gd
imap
memcache
mssql
mysql
mysqli
openbase_module
openssl
pdo_sqlite
pgsql
rrdtool
soap
tidy
wddx
xmlrpc
xsl
ones included that don't work in apache 2: (either namespace)
fbsql
gmp
rar
ones I added that do work in apache 2: (forced as flat_namespace)
big_int
bcompiler
dio
ffmpeg
pcntl
zip
ones I wrote that do work in apache 2: (forced as flat_namespace)
rrdtool
ones I wrote that don't work in apache 2: (either namespace)
clam
[ ERROR REPORT ]
Host Name: c20.apple.com
Date/Time: 2007-08-23 14:52:06.176 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 4632
Thread: Unknown
Link (dyld) error:
Symbol not found: _compiler_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/bcompiler
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 14:52:23.452 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 4641
Thread: Unknown
Link (dyld) error:
Symbol not found: _compiler_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/bcompiler
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 14:53:47.942 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 7408
Thread: Unknown
Link (dyld) error:
Symbol not found: _compiler_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/bcompiler
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 14:55:49.708 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 17789
Thread: Unknown
Link (dyld) error:
Symbol not found: _compiler_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/big_int
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 14:57:38.311 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 27056
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/dbase
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 14:58:32.543 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 1497
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/dio
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 14:59:23.724 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 3885
Thread: Unknown
Link (dyld) error:
Symbol not found: _executor_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/ffmpeg
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:00:20.410 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 3910
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/filepro
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:01:10.702 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 5436
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/gd
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:02:16.865 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 10603
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/imap
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:03:25.600 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 14479
Thread: Unknown
Link (dyld) error:
Symbol not found: _executor_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/memcache
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:04:37.522 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 17688
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/mssql
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:05:09.339 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 7775
Thread: Unknown
Link (dyld) error:
Symbol not found: _executor_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/fbsql
Expected in: flat namespace
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:05:50.690 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 25909
Thread: Unknown
Link (dyld) error:
Symbol not found: _executor_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/fbsql
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:08:08.041 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 9271
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/mysql
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:08:51.663 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 13003
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/mysqli
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:09:35.538 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 14530
Thread: Unknown
Link (dyld) error:
Symbol not found: _executor_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/openbase_module
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:10:53.457 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 18563
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/openssl
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:11:40.640 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 22076
Thread: Unknown
Link (dyld) error:
Symbol not found: _executor_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/pcntl
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:12:26.475 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 24925
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/pdo_sqlite
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:13:11.716 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 26898
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/pgsql
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:14:05.566 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 664
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/rar
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:14:33.949 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 2386
Thread: Unknown
Link (dyld) error:
Symbol not found: _sapi_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/rrdtool
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:15:26.671 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 5404
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/soap
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:16:11.508 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 8219
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/tidy
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:16:57.802 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 10813
Thread: Unknown
Link (dyld) error:
Symbol not found: _basic_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/wddx
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:17:39.584 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 13828
Thread: Unknown
Link (dyld) error:
Symbol not found: _compiler_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/xmlrpc
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:18:22.487 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 16892
Thread: Unknown
Link (dyld) error:
Symbol not found: _executor_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/xsl
Expected in: dynamic lookup
Host Name: c20.apple.com
Date/Time: 2007-08-23 15:19:04.002 -0400
OS Version: 10.4 (Build 8A428)
Report Version: 3
Command: httpd
Path: /usr/local/apache-2.2.4/bin/httpd
Parent: launchd [1]
Version: ??? (???)
PID: 18997
Thread: Unknown
Link (dyld) error:
Symbol not found: _core_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/zip
Expected in: dynamic lookup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
iD8DBQFGzezO0hzWbkf0eKgRAk3tAKCSeI3zMe3hA4lsMbsb75ba1WckiQCfRP0H
YQBAXV2EAqHT1K+GsETGSuY=
=guB9
-----END PGP SIGNATURE
Hi,
[...]
Symbol not found: _compiler_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/bcompiler
Expected in: dynamic lookup
[...]
This simply means that your PHP was built using a thread-safe
environment but the extension was linked against a non-thread-safe PHP.
The documentation and regular support channels (php.net/support.php)
should be able to help you figuring out what's going wrong.
johannes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
[...]
Symbol not found: _compiler_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/bcompiler
Expected in: dynamic lookup
[...]This simply means that your PHP was built using a thread-safe
environment but the extension was linked against a non-thread-safe
PHP.
The PHP and modules are built simultaneously so linking against the
generated PHP should not be an issue.
The documentation and regular support channels (php.net/support.php)
should be able to help you figuring out what's going wrong.johannes
I went that route and looked at http://php.net/manual/en/
faq.build.php already but couldn't find anything related.
Since I build in a thread-safe environemt and pthreads is actually
embedded in libSystem ( -lpthread isn't required but can be used for
legacy linking) and "#define PTHREADS 1" shouldn't it build and link
against the php that is being built since therre is no PHP installed
in the build environment?
Maybe I should undef PTHREADS ??? (just guessing now).
- -- Dale
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
iD8DBQFGzfaC0hzWbkf0eKgRAn+YAKDGE38V3d+B8H3VBk1blGRvYTup6QCgomnH
ePnWxDT7zoRJgqQfQFJdHn4=
=fGi5
-----END PGP SIGNATURE
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi,
[...]
Symbol not found: _compiler_globals
Referenced from: /usr/local/php/lib/php/extensions/no-debug-non-
zts-20060613/bcompiler
Expected in: dynamic lookup
[...]This simply means that your PHP was built using a thread-safe
environment but the extension was linked against a non-thread-safe
PHP.The PHP and modules are built simultaneously so linking against the
generated PHP should not be an issue.The documentation and regular support channels (php.net/support.php)
should be able to help you figuring out what's going wrong.johannes
I went that route and looked at http://php.net/manual/en/
faq.build.php already but couldn't find anything related.Since I build in a thread-safe environemt and pthreads is actually
embedded in libSystem ( -lpthread isn't required but can be used
for legacy linking) and "#define PTHREADS 1" shouldn't it build and
link against the php that is being built since therre is no PHP
installed in the build environment?Maybe I should undef PTHREADS ??? (just guessing now).
- -- Dale
I'm wondering if it's possible to have 3 builds of PHP 5.2.3 sapi
modules (one for each version of apache) that share common
configuration and loadable module.
I ask because it makes no sense to have 3 full separate installations
using different repositories to achieve the same configuration under
the various versions of apache.
Perhaps forcing pthreads off might be a solution because I've been
unable to get pthreads working under apache 1.3.33 and other than
manually setting it in the php_config.h file I haven't been able to
enable it during configure.
I tried with --with-tsrm-pthreads but it didn't seem to do anything
differently and I diffed the two build directories and no build
related files showed any differences (excluded config.log,
config.nice etc...) and editing php_config.h and setting "#define
PTHREADS 1" manually and adding "-DZTS" to the CFLAGS_CLEAN flags but
it didn't seem to have any affect either (or none that I could tell)
however setting it under apache 2 seemed to make a difference but
under apache 2 it seemed to enable PTHREADS itself.
It still leaves me with symbol issues and I haven't found any
documentation on the php site that touches on the topic let alone
reveals a solution.
- -- BuildSmart
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
iD8DBQFGzjc90hzWbkf0eKgRAiwaAKDd9BNWOKq4fdCI7A1KuGpYwBhK1QCglneW
xzgqMjj075BtEYma9yteDqk=
=dJMZ
-----END PGP SIGNATURE