Juha Tuomala wrote:
>>> For me it looks that the whole makefile
>>> doesn't handle .so file, why is that?
>> The .so file is created by apxs when you do a make install.
> I figured this out. Actually, it's created during build, but
> for some wierd reason below .libs/mod_webkit.so. So copying
> it from there works just fine. (at least it loads, I'm just
> configuring it)
Sorry if that was misleading. You're right, the .so file is created in
.libs when you build mod_webkit. The reason for this is that apxs uses
libtool, and the libtool documentation says:
"Note how libtool creates extra files in the .libs subdirectory, rather
than the current directory. This feature is to make it easier to clean
up the build directory, and to help ensure that other programs fail
horribly if you accidentally forget to use libtool when you should."
Anyway, if you do a "make install", the .so should be copied properly
from .libs to /usr/lib/apache2/mod_webkit.so or whatever you are using.