  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | jk connector build problem | jk connector build problem 2005-02-07 - By Thor Muller
Back I think others have had this problem but I can't find an answer that helps me. I have a fresh install of redhat9 and I've installed Apache 2.053, PHP 4.3.1 and Tomcat 5.5, all without a hitch. Now I'm trying to compile the mod_jk.so and it gives me the following error. Any answers would be very much appreciated.
-- ---- ---
# make Making all in common make[1]: Entering directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common' Making all in apache-2 (See http://che-2.ora-code.com).0 make[1]: Entering directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0' /bin/sh /usr/local/apache/build/libtool --silent --mode=install cp mod_jk.la `pwd`/mod_jk.so libtool: install: warning: remember to run `libtool --finish /usr/local/apache/modules' make[1]: Leaving directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0' make[1]: Entering directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native' target="all"; \ list='common apache-2 (See http://che-2.ora-code.com).0'; \ for i in $list; do \ echo "Making $target in $i"; \ if test "$i" != "."; then \ (cd $i && make $target) || exit 1; \ fi; \ done; Making all in common make[1]: Entering directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common' Making all in apache-2 (See http://che-2.ora-code.com).0 make[1]: Entering directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0' /bin/sh /usr/local/apache/build/libtool --silent --mode=install cp mod_jk.la `pwd`/mod_jk.so libtool: install: warning: remember to run `libtool --finish /usr/local/apache/modules' make[1]: Leaving directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0' [root@(protected) native]# make install Making install in common make[1]: Entering directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common' Making install in apache-2 (See http://che-2.ora-code.com).0 make[1]: Entering directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0'
Installing files to Apache Modules Directory... /usr/local/apache/bin/apxs -i mod_jk.la /usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' mod_jk.la /usr/local/apache/modules /usr/local/apache/build/libtool --mode=install cp mod_jk.la /usr/local/apache/modules/ cp .libs/mod_jk.lai /usr/local/apache/modules/mod_jk.la cp .libs/mod_jk.a /usr/local/apache/modules/mod_jk.a ranlib /usr/local/apache/modules/mod_jk.a chmod 644 /usr/local/apache/modules/mod_jk.a PATH="$PATH:/sbin" ldconfig -n /usr/local/apache/modules -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Libraries have been installed in: /usr/local/apache/modules
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Warning! dlname not found in /usr/local/apache/modules/mod_jk.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache/modules/mod_jk.so chmod: failed to get attributes of `/usr/local/apache/modules/mod_jk.so': No such file or directory apxs:Error: Command failed with rc=65536 . make[1]: *** [install_dynamic] Error 1 make[1]: Leaving directory `/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0' make: *** [install-recursive] Error 1
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |