Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache / WebObjects on Solaris 8

Status
Not open for further replies.

fxars

MIS
Mar 14, 2002
4
US
I compile apache, and when I try to start it, I get:


$ ./apachectl start
Cannot load /opt/Apple/Library/WebObjects/Adaptors/Apache/mod_WebObjects.so into server: ld.so.1: /export/home/sparks/apache/bin/httpd: fatal: relocation error: file /opt/Apple/Library/WebObjects/Adaptors/Apache/mod_WebObjects.so: symbol ap_document_root: referenced symbol not found
./apachectl start: httpd could not be started

This error is a result of Apache attempting to start the WebObjects module.

If I leave this out, apache starts fine. What's frustrating is that I've got apache already working with Web Objects, so I don't know why I'm not able to get it to work now.

If I grep the source for ap_document_root, I find references in http_core.c, and mod_rewrite.c.

If I do a
$ ./httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_so.c
mod_setenvif.c
suexec: disabled; invalid wrapper /export/home/sparks/apache/bin/suexec

you can see that I have DSO compiled in. Also, this is the same configuration that shows when I do it with the "production" apache which works. I really don't think it's a WebObjects problem. I've re-compiled that several times, and each time it still works with the present "production" apache that's on the system.

My ./configure looks like this:

$ ./configure --enable-module=so --prefix=/export/home/blah/apache --datadir=/var/web

I'm running Solaris 8 on Intel. I'm using GNU's gcc for the compiles. In addition, I've installed the GNU bin utils (installed in /usr/local/bin; and my PATH uses /usr/local/bin as the first entry).

What am I doing wrong?
=== Al
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top