You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Steve Spicer <ss...@itww.net> on 2001/02/26 22:46:19 UTC

Re: mod_jk.so build problems with SunOS 5.6

I had the exact same problem, opening apxs up in vi noticed it was just a
perl script.. after installing mod_ssl, the script had been "recompiled" and
needed the linker name and parameters (-G) putting back in!

(Lines 78 & 79)

my $CFG_LD_SHLIB      = q();          # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(); # substituted via Makefile.tmpl

If they look like that, change them to:

my $CFG_LD_SHLIB      = q(ld);          # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(-G); # substituted via Makefile.tmpl

and try that!

>--- Snip ----<


sorry.I don't know more UNIX so I don't know how can I do when I got error
message.
my work station:
    Solaris 2.6
    Apache1.3.14
    TOMCAT3.2.1
what I done:
    apxs -o
mod_jk.so -DSOLARIS -I../jk -I${JAVA_HOME}/include -I${JAVA_HOME}/include/so
laris -L/lib -lposix4 -c *.c ../jk/*.c
 and I get error
   apxs:Break: Command failed with rc=255
but the object jk*.o is done when I do apxs.so I  use
   gcc -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
jk_pool.
o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o
jk_connect.o
 jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o mod_jk.o$
to link object for doing my mod_jk.so but I get one error message too
 jk_jni_worker.o(the symbol is depend /usr/lib/libdl.so.1 tacitly)


----- Original Message -----
??? : "James Courtney" <ja...@yahoo.com>
?? : <to...@jakarta.apache.org>
CC : <ts...@cisco.com>
???? : 2001?1?30? 4:32
?? : RE: mod_jk.so build problems with SunOS 5.6


> Here's a makefile that's been working for me on Solaris 2.7.
> -Jamey
>
> -----Original Message-----
> From: Timothy S. Tsai [mailto:tstsai@cisco.com]
> Sent: Monday, January 29, 2001 8:03 AM
> To: tomcat-dev@jakarta.apache.org
> Cc: tstsai@cisco.com
> Subject: Re: mod_jk.so build problems with SunOS 5.6
>
>
> Hello,
>
> Has anyone gotten an answer for this post?  I ran into the same problem
> also.
>
> tt
>
> At 03:45 PM 1/29/01 +0900, you wrote:
> >hi,
> >I failed to build mod_jk.so.what can tell me how can I do.
> >I get a error message when I use apxs
> >    -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
> >jk_pool.o
> >jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o
> >jk_connect.o j
> >k_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o mod_jk.o -lrt
> >apxs:Break: Command failed with rc=255
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> >For additional commands, email: tomcat-dev-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-dev-help@jakarta.apache.org
>



Steve Spicer
Systems Manager

--
IT Worldwide                     | http://www.itworldwide.net
Providing Internet Services      | sspicer@itww.net
Integration and Innovation       | +44 020 8597 8901