Thanks for your help...
The problem is one with Sun OS / Solaris.... For this platform when you
compile apache, you must use the following when configuring with ./configure
--enable-rule=SHARED_CORE
I recompiled with this option, and was then able to load the mod_jk module.
(and others that were not working)
Kendal L. Montgomery
Qwest - eFlow Development Team
614-215-4937
-----Original Message-----
From: John P. Dodge [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 2:05 PM
To: Montgomery, Kendal L
Subject: Re: Trouble with mod_jk.so
I dunno, is Apache compiled for shared objects? Did you use
a configure
option to enable mod_so?
Something like:
./configure --prefix=/opt/apache_1.3.11 \
--with-layout=Apache \
--without-confadjust \
--enable-shared=max
Can you dump the symbol table for your httpd? You could also
query <apache
source>/src/main/libmain.a
nm /opt/apache/bin/httpd | grep ap_table
00053e34 T ap_overlap_tables
00053a8c T ap_table_add
00053af8 T ap_table_addn
00053bac T ap_table_do
00053300 T ap_table_get
00053854 T ap_table_merge
00053980 T ap_table_mergen
000533d8 T ap_table_set
000535a0 T ap_table_setn
00053738 T ap_table_unset
On Tue, 15 May 2001, Montgomery, Kendal L wrote:
> I compiled Apache with gcc on the before mentioned box.
Apache does run
> just fine without the tomcat module.
>
> Should I recompile Apache with some other options or
something?
>
> Thanks!
>
> >From: John P. Dodge
> >Subject: Re: Trouble with mod_jk.so
> >Date: Fri, 04 May 2001 12:50:38 -0700
>
> >ap_table_get is defined in the Apache httpd executable
linked in at
> >compile time from src/main/libmain.a and referenced in
mod_jk.so (and most
> >others). How did you compile Apache? Does it run without
the
> >mod_jk.so LoadModule inclusion?
>
>
> >On Fri, 4 May 2001, Montgomery, Kendal L wrote:
>
> >> Hello all,
> >>
> >> I have built Apache 1.3.19 and tomcat 3.2.1, but I'm
having trouble
> getting
> >> my mod_jk.so to work. I just build it also, but when I
try to run apache
> >> with this module loaded I get:
> >>
> >> Syntax error on line 203 of
> >> /home/01/klmontg/servers/etc/httpd/conf/httpd.conf:
> >> Cannot load
/home/01/klmontg/servers/usr/apache/libexec/mod_jk.so into
> >> server: l
> >> d.so.1: /home/01/klmontg/servers/usr/apache/bin/httpd:
fatal: relocation
> >> error:
> >> file
/home/01/klmontg/servers/usr/apache/libexec/mod_jk.so: symbol
> >> ap_table_get:
> .> referenced symbol not found
> >>
> .> BTW - I am running SunOS 5.6 sparc.
> .>
> >> I have used the instructions for compiling mod_jk from
the user guide, as
> >> well as some other things, but am having no luck.
> >>
> >> I can't figure this one out, so any help is
appreciated!
> >>
>
> Kendal L. Montgomery
> Qwest - eFlow Development Team
> 614-215-4937
>
----------------------------------------
"Mon aeroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services