Hi Gregory,

Unfortunately that didn't work. The same error shows up:

dyld: NSLinkModule() error
dyld: Symbol not found: _executor_globals
Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20060613/ redland.bundle
  Expected in: flat namespace

make[2]: *** [test-php] Trace/BPT trap
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1


I'm compiling this from a relatively 'clean' osx leopard installation; could it be that the php 5.2.4 that comes included in leopard does not have the full includes+libraries?


Andrew


On Mar 3, 2008, at 10:26 AM, Gregory Williams wrote:

On Mar 2, 2008, at 11:51 PM, Andrew (Chuan) Khoo wrote:

Testing Redland...
dyld: NSLinkModule() error
dyld: Symbol not found: _executor_globals
 Referenced from: /Users/passenger/Desktop/server/redland-=20
bindings-1.0.7.1/php/redland.bundle
 Expected in: flat namespace


Hi Andrew,

I'm not sure if this will help, but you might try recompiling the bindings with the following environment variable set:

ARCHFLAGS='-arch i386 -arch ppc -arch ppc64 -arch x86_64'

Some of the Mac OS X software is compiled as 64 bit code, but the default compiler options compile for 32 bits, resulting in problems when you try to link the two together. Setting this variable enables compiling for both 32 and 64 bit architectures at the same time. Like I said, I'm not sure if that's the problem here, but it's probably worth trying.

hope that helps,
.greg

--
"It's hard to read through a book on the principles of magic without
glancing at the cover periodically to make sure it isn't a book on
software design."    - Bruce Tognazzini


_______________________________________________
redland-dev mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-dev

Reply via email to