Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59579 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30197 invoked from network); 9 Apr 2012 23:10:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Apr 2012 23:10:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=luke@cywh.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=luke@cywh.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cywh.com from 209.85.210.45 cause and error) X-PHP-List-Original-Sender: luke@cywh.com X-Host-Fingerprint: 209.85.210.45 mail-pz0-f45.google.com Received: from [209.85.210.45] ([209.85.210.45:60101] helo=mail-pz0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/D4-34074-A5C638F4 for ; Mon, 09 Apr 2012 19:10:19 -0400 Received: by dacx6 with SMTP id x6so6002748dac.18 for ; Mon, 09 Apr 2012 16:10:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=user-agent:date:subject:from:to:message-id:thread-topic:in-reply-to :mime-version:content-type:x-gm-message-state; bh=49AZZQrAA1xlv0f3R9TTl2paE4D4SPCUiCwb+gBN7zw=; b=JrwfTacdkrRUu/O6sgdMgrxxMzSKpmPgGWFzA4o4o11wRyUyty2Jvc1Cmwu6SqW9dY UJXb7f3mhg04pZAt/DxLgkuNUWFXJkbhnqcndlJK+z3rY7m1sCuU+PKM0yxpvelAThYK W2C9bCjQmZ4VERioig8PuygP3y0d3dlnHYbzg3t8D9Ftpoyv25rQvOa0KXEDxpwAD98W 6BzHdBtWxwdGYIjEL4nqVpfbHb4bVvTyN9WL9cJWzqXAhAK0vQABF29EsyDvlZkzhCw6 D238+HwSBP2xSF28FW2ye7Ib7k1k5nrco6gVA5fVbklYygZG1pyyUJ89NwWdGl0H9T2e XAxA== Received: by 10.68.223.193 with SMTP id qw1mr23351899pbc.61.1334013015611; Mon, 09 Apr 2012 16:10:15 -0700 (PDT) Received: from [10.1.10.222] ([66.60.139.106]) by mx.google.com with ESMTPS id z7sm16113201pbk.63.2012.04.09.16.10.14 (version=SSLv3 cipher=OTHER); Mon, 09 Apr 2012 16:10:14 -0700 (PDT) User-Agent: Microsoft-MacOutlook/14.13.0.110805 Date: Mon, 09 Apr 2012 16:11:54 -0700 To: Luke Scott , PHP Internals Message-ID: Thread-Topic: Writing an extension - dyld: ...Symbol not found In-Reply-To: Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3416832716_81587" X-Gm-Message-State: ALoCoQkYLkR4Uq8koY/s82RQr+2SAH7/3SSg1NgZwtRA2r6JYuwEu2B6+1ZJcFwiyuzrI7r9+OKK Subject: Re: Writing an extension - dyld: ...Symbol not found From: luke@cywh.com (Luke Scott) References: --B_3416832716_81587 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit > 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 --B_3416832716_81587--