
bugzilla at apache
Jul 5, 2008, 7:48 PM
Post #1 of 1
(703 views)
Permalink
|
|
[Bug 45329] Can not load module libaprutil-0.so on AIX
|
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=45329 Aaron <mingzhao.chen [at] hingesoftware> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mingzhao.chen [at] hingesoftware | |com --- Comment #1 from Aaron <mingzhao.chen [at] hingesoftware> 2008-07-05 19:48:51 PST --- Hi, This problem has been resolved.When you configure the apache,you can add the flag of '--enable-shared=no'. $./configure --prefix=/home/viador/apache2 --enable-so --enable-ssl --with-ssl=/usr/local/ssl --with-expat=builtin --enable-shared=no $make $make install In this way, you can move the apache to other directory or other AIX machine,but you should modify the PREFIX path in some files. But I want to generate the mod_jk.so with tomcat-connectors-1.2.23-src: In the directory tomcat-connectors-1.2.23-src $cd native $./configure --with-apxs=/home/viador/apache2/bin/apxs $cd apache-2.0 $make $make install There are some errors when execute the 'make install': Installing files to Apache Modules Directory... /home/viador/apache2/bin/apxs -i mod_jk.la /home/viador/apache2/build/instdso.sh SH_LIBTOOL='/home/viador/apache2/build/libtool' mod_jk.la /home/viador/apache2/modules rm -f /home/viador/apache2/modules/mod_jk.so /home/viador/apache2/build/libtool --mode=install cp mod_jk.la / home/viador/apache2/modules/ cp .libs/mod_jk.lai /home/viador/apache2/modules/mod_jk.la cp .libs/mod_jk.a /home/viador/apache2/modules/mod_jk.a ranlib /home/viador/apache2/modules/mod_jk.a chmod 644 /home/viador/apache2/modules/mod_jk.a Libraries have been installed in: /home/viador/apache2/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 `LIBPATH' environment variable during execution - use the `-Wl,-blibpath:LIBDIR:/home/viador/apache2/lib:/hom e/sybase125/product/OCS-12_5/lib:/home/sybase125/product/ASE-12_5/lib:/home/syba se125/product/FTS-12_5/lib:/usr/lib:/lib:/export/home/dbase/DB28/db2inst2/sqllib /lib ' linker flag 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 /home/viador/apache2/modules/mod_jk.la. Assuming installing a .so rather than a libtool archive. chmod 755 /home/viador/apache2/modules/mod_jk.so chmod: /home/viador/apache2/modules/mod_jk.so: A file or directo ry in the path name does not exist. apxs:Error: Command failed with rc=65536 make: 1254-004 The error code from the last command is 1. But when configure the apahce without the flag of '--enable-shared=no',the mod_jk.so can generate and the apache can work will with the tomcat.Could you tell me what's the mater?Thanks a lot. Aaron, 2008-07-06 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe [at] httpd For additional commands, e-mail: bugs-help [at] httpd
|