You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/01/06 22:49:08 UTC
DO NOT REPLY [Bug 17762] -
runtime link error loading jkjni.so
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17762>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17762
runtime link error loading jkjni.so
------- Additional Comments From mdeggers@earthlink.net 2004-01-06 21:49 -------
After a long time of not working with this, I decided to tackle the issue again.
I'm now on Fedora Core 1, j2sdk 1.4.2_02, Tomcat 5.0.16, and Apache 2.0.48.
I used the following flags before compiling Apache 2.0.48
export LDFLAGS="-lgdbm -lldap -lexpat -ldb -L/usr"
export CPPFLAGS="-I/usr/kerberos/include -I/usr/openssl/include"
I used the following to configure Apache 2.0.48
./configure --enable-ssl=shared --enable-modules=all --enable-mods-shared=most
I then moved over to the connectors - source from:
jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz
I ran the following configure command in
jakarta-tomcat-connectors-jk2-2.0.2-src/native/jk2:
./configure --with-apxs2=/home/apache/bin/apxs \
--with-tomcat41=/home/tomcat \
--with-os-type=/usr/java/jre/lib/i386 \
--with-jni \
--with-pcre
The third line is new.
Once the configuration is run, the Makefile in
jakarta-tomcat-connectors-jk2-2.0.2-src/native/jk2/server/apache2 was altered.
JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0 -lpcre -lpcreposix -laprutil-0
In particular, -laprutil-0 was added.
After building and installing mod_jk2.so and jkjni.so, I was able to get the
following Apache 2.048 - Tomcat 5.0.16
httpd - tomcat via IP sockets works
httpd - tomcat via UNIX sockets works
httpd - tomcat via in-process loops with unable to find child nnnn in
httpd error_log
This has been mentioned on the Tomcat mailing lists, so I will search to see if
there is a solution.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org