Re: Error When Loading Dynamic Adaptor & Apache
Patrick Middleton <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, February 17, 2004, at 09:22 pm, Ken Hammer wrote: > Greetings, > > I'm having difficulty getting mod_WebObjects.so to load in Apache. > When I fire up Apache I get the following error: > Cannot load /usr/local/www/libexec/mod_WebObjects.so into server: > ld.so.1: /usr/local/www/bin/httpd: > fatal: relocation error: file /usr/local/www/libexec/mod_WebObjects.so: > symbol ap_document_root: referenced symbol not found > > I get this error with the pre compiled and newly compiled version of > the adapter. > Here are the pertinent details: > > OS: Solaris 2.8 > Apache: 1.3.29 > WebObjects: 5.2.2 > make: GNU Make version 3.79.1 > > The LD_LIBRARY_PATH is correct. The Makefile and make.config file is > right. The "make" goes without a hitch, no errors no complaints, not > even a whimper. > > Apache comes up fine without this module. > Could someone provide me with some insight to what I'm doing wrong? > Please, > I only have a few hairs left. :) > > -- Ken Hammer 1.3.29 on 2.8? So you're clearly not using the standard distro then; as I recall, that was 1.3.26, and didn't include libssl.so. I built 1.3.28 for our 2.8 system a while back, using the WO 451 gcc. [A useful trick here: remember to supply the -nopdolib compiler/linker flag; then the output binaries won't contain a reference to the dynamic library for ObjC; then you don't need to tinker with LD_LIBRARY_PATH in order for what you've built to run.] Are you sure you are starting the httpd you think you are? Are you sure the httpd is loading the mod_WebObjects.so you think it is? If you're using a different apache, based on the stock adaptor sources -- did you alter the adaptor project's make.config etc to point at the apache headers, APXS tool, etc, for your 1.3.29 installation rather than the stock 1.3.26 one? -- Patrick Middleton OneStep Solutions plc 351 London Road Phone: +44 (0)1702 426400 Hadleigh Fax: +44 (0)1702 556855 Essex. SS7 2BT Email: [email protected] England (MIME welcome)