Re: Writing an extension - dyld: ...Symbol not found

From: Date: Mon, 09 Apr 2012 23:11:54 +0000
Subject: Re: Writing an extension - dyld: ...Symbol not found
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-59579@lists.php.net to get a copy of this message
> I'm writing an extension called "V8PHP". It's similar to the V8JS > extension, > but the implementation is quite different. > > ... > > Anyone know what the problem could be? > > Luke I figured out that v8 was being compiled in 32 bit mode... Apparently it thinks "native" means 32 bit... Recompiled as 64 bit and now I'm getting this: PHP Warning: PHP Startup: Unable to load dynamic library '/phpdev/lib/php/extensions/debug-zts-20090626/v8php.so' - dlopen(/phpdev/lib/php/extensions/debug-zts-20090626/v8php.so, 9): Symbol not found: __ZN2v88internal8Snapshot13context_size_E Referenced from: /phpdev/lib/php/extensions/debug-zts-20090626/v8php.so Expected in: flat namespace in /phpdev/lib/php/extensions/debug-zts-20090626/v8php.so in Unknown on line 0 Luke

« previous php.internals (#59579) next »