Le ven 19/03/2004 � 05:11, Allan Bruce a �crit :
>
> I used an rpm to install the connector. Do you suggest I uninstall the rpm
> and compile the source?
> Thanks
> Allan
>
Before you may do the following check:
Locate the mod_jk2.so file and issue the following command:
ldd mod_jk2.so
It will list all the required libraries for the module to work properly.
I got the following list on my system:
/usr/lib/libgdkxft.so => /usr/lib/libgdkxft.so (0x4002c000)
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0x40031000)
libc.so.6 => /lib/i686/libc.so.6 (0x40054000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40190000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x402be000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x402f4000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x402f7000)
libdl.so.2 => /lib/libdl.so.2 (0x4031b000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x4031f000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x40327000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x40336000)
libm.so.6 => /lib/i686/libm.so.6 (0x40400000)
libXft.so.1 => /usr/lib/libXft.so.1 (0x40423000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x4044d000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40452000)
libz.so.1 => /usr/lib/libz.so.1 (0x404a3000)
If you get something similar, the problem may be with the
LD_LIBRARY_PATH or the /etc/ld.so.conf, your libraries are not located
were they are expected and they cannot be found to resolve the symbols
at runtime.
It seems to me the safest approach would be to recompile from source and
have some sort of control over what you are doing.
There are already some recent questions on the current mailing list
which described the options you should pass to the configure. Just be
warn if it fails at runtime with similar problem, the solution is to
edit manually the Makefile in native2/server/apache2 directory to
include manually the missing libraries at the JK_LDFLAGS definition
line.
I found db-4.0 is not required, another version of the Berkeley DB will
do as well, given you provide the correct naming to the -l option.
--
=======================================
Daniel Savard
=======================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]