From owner-freebsd-java Fri Aug 3 18:15:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from lae01.kpe.com (la10.kpe.com [216.91.124.10]) by hub.freebsd.org (Postfix) with ESMTP id 69C2B37B407 for ; Fri, 3 Aug 2001 18:15:44 -0700 (PDT) (envelope-from BiggsW@kpe.com) Received: by LAE01 with Internet Mail Service (5.5.2650.21) id ; Fri, 3 Aug 2001 18:07:02 -0700 Message-ID: <5797F8B1EFF6D411845F00A0C9D634FE4AB267@LAE01> From: Wesley Biggs To: "'freebsd-java@freebsd.org'" Subject: Java2 + PHP + FreeBSD Date: Fri, 3 Aug 2001 18:07:01 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Does anyone have experience using the PHP servlet to support PHP pages through a Java servlet engine? I need to use Java 2, so I'm running linux-jdk1.3.1 rather than the native 1.1.8 port. The issue seems to be that when the PHP servlet attempts to load in libphp4.so (using System.loadLibrary()), the ABIs don't match (Linux java process vs. FreeBSD shared library). Any suggestions for how I can work around this? I'm not a FreeBSD Linux emulation expert, so maybe if there's a way to make the binaries more compatible, that would solve my problem. Incidentally, I tried compiling libphp4.so on a Linux box and moving it over, then used brandelf to label it as Linux, but that gave me the same ABI incompatibility error on loadLibrary(). Thanks in advance, Wes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message