https://issues.apache.org/bugzilla/show_bug.cgi?id=45346
Summary: Can not generate the mod_jk.so with apxs
Product: Tomcat 5
Version: 5.5.26
Platform: Other
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: Native:JK
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
Hi,
I configure the apache with follwing command:
$./configure --prefix=/home/viador/apache2 --enable-so --enable-ssl
--with-ssl=/usr/local/ssl --with-expat=builtin --enable-shared=no
$make
$make install
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]