From: "jean-frederic clere" <[EMAIL PROTECTED]>
> 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.
> 

Yes, there's still some arranging to do for --with-jni. 
This is what I think is working and not.

server/apache2/Makefile.in - OK
server/apache2/Makefile.apxs.in - probably needs work.
server/apache13/Makefile.in - needs work
server/apache13/Makefile.apxs.in - needs work

I've also noted that --with-pcre needs some tweaking at least for FreeBSD.

For apache2 I needed to add -L/usr/local/lib to PCRE_LIBS in jk_pcre.m4

For apache13 I think I needed to add -I /usr/local/include too.

All the above is on my personal todo list (help is welcome;-). I have some 
time tomorrow and Friday to look at some of this, but I'm not sure 
if its worth holding up the release or not. 

-Kurt

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to