Re: building PHP 5.2.3 and namespace issues

From: Date: Thu, 23 Aug 2007 21:05:06 +0000
Subject: Re: building PHP 5.2.3 and namespace issues
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-31877@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Aug 23, 2007, at 16:50:02, Johannes Schlüter wrote:
Hi, On Thu, 2007-08-23 at 16:23 -0400, BuildSmart wrote: [...]
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-----

« previous php.internals (#31877) next »