Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 10:49:20 -0700 (PDT)
From:      javamail02 <javamail02@yahoo.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Running Linux Apache and Apache module binaries
Message-ID:  <20020827174920.27040.qmail@web21502.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020827174920.27040.qmail>