tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bussenschutt <D.Bussensch...@mailbox.gu.edu.au>
Subject on solaris 2.6 I used -lposix4 for mod_jk
Date Tue, 12 Dec 2000 00:31:34 GMT
I don't know if anyone else has encountered this problem before, but going
by the number of mod_jk compile problems, it can only help!....

With: Solaris 2.6/Apache 1.3.14/Tomcat 3.2Final/mod_jk

I found that the suggested apxs command for building mod_jk didn't work
properly. The compile went perfectly, and built a mod_jk.so with no errors
at all when using the suggested command of:

/opt/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
-I/usr/java/include/solaris -c *.c ../jk/*.c

BUT....Copying it to apache's libexec directory and configuring apache to
load it caused a ld linker error at start-up time. It was trying to
reference something from the posix4 library.... so I had to do this:

/opt/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
-I/usr/java/include/solaris -lposix4 -c *.c ../jk/*.c

( note the addition of -lposix4 )

and it fixed it!

David.

--------------------------------------------------------------------
David Bussenschutt          Email: D.Bussenschutt@mailbox.gu.edu.au
Senior Computing Support Officer & Systems Administrator/Programmer
Location: Griffith University. Information Technology Services
          Brisbane Qld. Aust.  (TEN bldg. rm 1.33) Ph: (07)38757079
--------------------------------------------------------------------

Mime
View raw message