Your running into pathing problems. Your using /usr/lib/httpd/modules and /etc/httpd/modules. apache wants to use /etc/httpd/modules. Copy your mod_jk2.so there.
Drew -----Original Message----- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 11:46 AM To: 'Tomcat Users List' Subject: Building jk2-2.0.4 on rh9 having some problems Hello I am building jk2-2.0.4 on rh9 and apache 2 I first configure ./configure --with-apxs2=/usr/sbin/apxs --with-java-home=${JAVA_HOME} --with-java-platform=2 --enable-jni Make (no errors) cd ../build/jk2/apache2 ============================================================================ ==== When I do this I ge the following error apxs -n jk2 -i mod_jk2.so /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/httpd/build/libtool' mod_jk2.so /usr/lib/httpd/modules /usr/lib/httpd/build/libtool --mode=install cp mod_jk2.so /usr/lib/httpd/modules/ cp mod_jk2.so /usr/lib/httpd/modules/mod_jk2.so mv: cannot move `/usr/lib/httpd/modules/' to a subdirectory of itself, `/usr/lib/httpd/modules/mod_jk2.so.so' chmod 755 /usr/lib/httpd/modules/mod_jk2.so chmod: failed to get attributes of `/usr/lib/httpd/modules/mod_jk2.so': No such file or directory apxs:Error: Command failed with rc=65536 ============================================================================ ==== So I manually do the command cp mod_jk2.so /usr/lib/httpd/modules/mod_jk2.so But now when I try to start httpd I get the error: Cannot load /etc/httpd/modules/mod_jk2.so into server: /etc/httpd/modules/mod_jk2.so: cannot open shared object file: No such file or directory Thanks for anyhelp randy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
