Daniel, thanks for the suggestions - i've replied below...
You don't need to link anything. They are shared libraries and symbols are resolved at runtime. This is the reason it fails at runtime.
To see which libraries the module expect, just type:
ldd mod_jk2.so
You should get something like:
/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)
actually, when I ran ldd mod_jk2.so it outputted: libc.so.6 => /lib/tls/libc.so.6 (0x42000000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Is it strange that it only requires 2? for curiosity's sake, i also ran ldd on the old mod_jk2.so file, and it also showed the same 2 files as the new one. I found that to be odd.
Try to run ldconfig -v as root, it will rebuild the cache /etc/ld.so.cache. The problem may be your library is located somewhere out of reach of the directories specified in /etc/ld.so.conf. If it is the case, add you directory in /etc/ld.so.conf before running ldconfig
I added the location of the newly compiled apr libs to my /etc/ld.so.conf file,
and then ran the ldconfig -v as root. I then tried to start apache, but got the
same error as before: "Cannot load /etc/httpd/modules/mod_jk2.so into server: /etc/httpd/modules/mod_jk2.so: undefined symbol: apr_socket_send"
In the 2.04 jk2 binary DL, it came with another lib file "libjkjni.so", which was
inside of the modules folder with the mod_jk2.so file. Is it possible that it is
relying on this lib, and this lib isn't being loaded, etc?
thanks, devin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
