From owner-freebsd-questions Tue Aug 27 10:49:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C31C937B401 for ; Tue, 27 Aug 2002 10:49:20 -0700 (PDT) Received: from web21502.mail.yahoo.com (web21502.mail.yahoo.com [66.163.169.13]) by mx1.FreeBSD.org (Postfix) with SMTP id 79F1643E42 for ; Tue, 27 Aug 2002 10:49:20 -0700 (PDT) (envelope-from javamail02@yahoo.com) Message-ID: <20020827174920.27040.qmail@web21502.mail.yahoo.com> Received: from [24.69.255.204] by web21502.mail.yahoo.com via HTTP; Tue, 27 Aug 2002 10:49:20 PDT Date: Tue, 27 Aug 2002 10:49:20 -0700 (PDT) From: javamail02 Subject: Running Linux Apache and Apache module binaries To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello everyone, First of all, you may be wondering why I want to run Linux Apache instead of the Apache port or package. I'm hoping that by running the Linux Apache binary, that I can use the Linux mod_jk binary that is available for download, instead of attempting to compile my own mod_jk (which seems to be quite a task, especially when using a Linux JDK, as I currently am). Unfortunately I've run into some problems... I installed a Linux Apache binary and ran across a missing library: libexpat.so.0 So, I grabbed expat, built it and installed, but made the mistake of building it for FreeBSD and installing in the standard /lib and /include folders. After a "make clean", I configured for a Linux build and aimed it at the linux compat dirs: "./configure --build=i386-linux --prefix=/usr/compat/linux/usr". After "make" "make install" the file libexpat.so.0 was now present as a symlink to libexpat.so.0.3.0 in /usr/compat/linux/usr/lib (I believe). This is what I don't understand: upon trying to start Apache, I get the message "ELF file OS ABI invalid" regarding libexpat.so.0. So then I ran "brandelf -t Linux .." on libexpat.so.0 and libexpat.so.0.3.0, but I continue to get the same message. Why should I still be getting this message? More importantly, is my idea of running a Linux Apache binary and Linux module binaries possible? Thanks, Jeff __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message