Hi
I export the LD_LIBRARY_PATH as below:
export LD_LIBRARY_PATH=/home2/sh3dsk/amit/TC5/apr-util-9.4/lib/:$LD_LIBRARY_PATH
I have compiled successfully mod_jk2.so for stronghold apache 3 with
apache version 1.3 running on solaris 2.6. It works like a dream.
Let me know if u need anything on this.
best regards
amit kaushal
amit@billdesk.com
timaaah@gmail.com (Dheeraj Srivastava) wrote in message news:<6956a810.0410110307.2341c9f5@posting.google. com>...
> I am using the following scripts to configure and make
>
> export CPPFLAGS="-I/apps/iev/apache/httpd-2.0.48/include"
>
>
> ./configure --with-apxs2=/apps/iev/apache2048/bin/apxs \
> --with-apache2=/apps/iev/apache2048 \
> --with-apr=/apps/iev/apache/httpd-2.0.48/srclib/apr \
> --with-apr-include=/apps/iev/apache/httpd-2.0.48/srclib/apr/include \
> --with-apr-lib=/apps/iev/apache2048/lib \
> --with-tomcat41=/apps/iev/jboss-3.2.0RC2_tomcat.4.1.18/tomcat-4.1.x \
> --with-java-home=/apps/partnercenter/wasbase/java \
> --with-jni \
> --enable-module=so \
> --with-pcre
>
> And after this ....
> make
> >
> libtool --finish /apps/iev/apache/httpd-2.0.48/modules.
>
> All this mubo jumbo produces the mod_jk2.so files. And after moving to
> the mdoules dir of the apache, if I try to run I get the message
>
> httpd: module "../../server/apache2/mod_jk2.c" is not compatible with
> this version of Apache (found 20020628, need 20020903).
> Please contact the vendor for the correct version.
>
> To me it looks as if it is making mod_jk2.so for the apache1.x rather
> than for apache2.x.
>
> Can you please help me with this.
> Thx
> dheeraj
>
>
>
>
>
>
> --------------------------------------------------------------------------------
> Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<slrnclq1cn.1j8.davideyeahsure@fogg.onlyforfu n.net>...
> > On 2004-10-01, Dheeraj Srivastava <timaaah@gmail.com> wrote:
> > > I tried your trick and in my profile
> > > I add a line LD_LIBRARY_PATH=/apps/iev/webserver/lib
> > > But it doesn't bring any joy.
> >
> > Another option is that you compiled mod_jk2 against the wrong APR
> > libary, as I said, Apache ship his own. Maybe you should recompile
> > mod_jk using Apache's apr library instead of the system's libs.
> >
> > Davide