Some more info in case anyone has ideas: I rebuilt apache with NO --define statements (previously, I used "with_mod_auth_ldap yes" and "with_mod_perl yes" ). i.e. now I just did a "rpm --rebuild apache...src.rpm".
Now when I start up apache I get: Cannot load /opt/opkg/prod/lib/apache/mod_wl.so into server: ld.so.1: /opt/opkg/1.2/sbin/apache: fatal: relocation error: file /opt/opkg/prod/lib/apache/mod_wl.so: symbol ap_rflush: referenced symbol not found "ap_rflush" appears to be part of the core, in http_protocol.c Now I'm wondering if this is unrelated to weblogic? Anyone got DSO modules dynamically loaded into apache1.3.27-1.2.2 ? Are there any issues with gcc-3.2.1 that might affect me? Any idea why compiling with mod_perl and mod_auth_ldap enabled made a difference? Also, I noticed a lib/apache/httpd.exp file. Is that used under Solaris 8 ? On Sat, 31 May 2003, Vinod Kutty wrote: > > > On Sat, 31 May 2003, Ralf S. Engelschall wrote: > > > > In all cases, I get segmentation faults for anything handled by the > > > weblogic module. I haven't investigated further, but I suspect it has to > > > do with --disable-shared in the apache.spec. > > > > The --disable-shared in apache.spec is for PHP. This is not the problem. > > And mod_so is build into our Apache, so this is sufficient for DSO > > support in Apache. Are you sure your .so's are built against Apache > > 1.3.27? > > Sorry ... I missed the obvious and noticed the PHP sections after I sent > my email. As for whether the .so's are built for 1.3.27: I don't know, > since I only have the binary. > > > > > > Before I proceed any further, has anyone got these weblogic DSO modules > > > working with apache? Or for that matter, any third party binary apache > > > modules? What are my options? > > > > Do I understand correctly: you have no source for mod_wl.so and > > mod_wd_ssl.so, right? Just the binaries, right? > > That's correct -- no source. > > Their docs recommend building apache with --enable-rule=SHARED_CORE and > --enable-shared=so. Since you've confirmed that building mod_so into > apache is sufficient for DSO support, I'm guessing this is unecessary. > > I'm going to try and investigate with BEA's tech support what specific > version their module is built for (they mention 1.x and 1.3.x in their > docs, but I didn't see anything explicit about what their module is built > for). In theory if it's built for 1.3.x it should work with 1.3.27, right? > > Anyone have general debugging tips for apache to trace module loading, > etc.? I just enabled mod_info which seems to indicate that the weblogic > module loads, so I'm getting a little closer ... > > Thanks, > -- > Vinod > ______________________________________________________________________ > The OpenPKG Project www.openpkg.org > User Communication List [EMAIL PROTECTED] > ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
