From: "jean-frederic clere" > Henri Gomez wrote: > > jean-frederic clere wrote: > > > >> Henri Gomez wrote: > >> > >>> jean-frederic clere wrote: > >>> > >>>> Henri Gomez wrote: > >>>> > >>>>> jean-frederic clere wrote: > >>>>> > >>>>>> Mladen Turk wrote: > >>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>> -----Original Message----- > >>>>>>>> From: jean-frederic clere > >>>>>>>> I have the following error: > >>>>>>>> +++ > >>>>>>>> # sbin/apachectl start > >>>>>>>> Syntax error on line 250 of /opt/SMAWoIS/apache13/conf/httpd.conf: > >>>>>>>> Cannot load /opt/SMAWoIS/apache13/libexec/mod_jk2.so into > >>>>>>>> server: ld.so.1: /opt/SMAWoIS/apache13/sbin/httpd: fatal: > >>>>>>>> relocation error: file > >>>>>>>> /opt/SMAWoIS/apache13/libexec/mod_jk2.so: symbol > >>>>>>>> jk_jni_status_code: referenced symbol not found sbin/apachectl > >>>>>>>> start: httpd could not be started > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> The jk_jni_status_code is int defined in jni/jk_jni_aprImpl.c > >>>>>>> Something went wrong during compilation? > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so > >>>>>> jk_jni_status_code is undefined. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> So jk_jni_aprImpl.c has not been compiled. > >>>>> > >>>>> What's your configure line ? > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> CC="cc -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa" \ > >>>> ./configure --with-apxs=/opt/SMAWoIS/apache13/sbin/apxs > >>>> --with-apr=/export/home3/jfclere/tmp/apr-0.9.4 > >>>> --with-apr-util=/export/home3/jfclere/tmp/apr-util-0.9.4 --with-jni > >>> > >>> > >>> > >>> > >>> Ok. > >>> > >>> Could you see if the jk_jni_aprImpl.c is built ? > >> > >> > >> > >> No it is not build. > > > > > > So that's the problem. > > > > Could you send a compile log ? > > That is just a note to tell that not using --with-jni helps. >
--with-jni and --with-pcre now works for apache13 and apache2 for both Makefile.in and Makefile.apxs.in methods. -Kurt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]