> -----Original Message----- > From: Henri Gomez [mailto:[EMAIL PROTECTED] > Sent: 19 February 2004 15:56 > To: Tomcat Developers List > Subject: Re: JK2 release & Expat > > > [EMAIL PROTECTED] wrote: > > >>-----Original Message----- > >>From: jean-frederic clere > [mailto:[EMAIL PROTECTED] > >>Sent: 18 February 2004 17:05 > >>To: Tomcat Developers List > >>Subject: Re: JK2 release & Expat > >> > >> > >>Henri Gomez wrote: > >> > >>a "ldd /var/tmp/mod_jk2_new.so" would be nice to have. > >> > > > > > > Close but no cigar ( I checked that before posting) but here for > > completeness; > > > > $ ldd /var/tmp/mod_jk2_new.so > > libsendfile.so.1 => /usr/lib/libsendfile.so.1 > > librt.so.1 => /usr/lib/librt.so.1 > > libm.so.1 => /usr/lib/libm.so.1 > > libsocket.so.1 => /usr/lib/libsocket.so.1 > > libnsl.so.1 => /usr/lib/libnsl.so.1 > > libresolv.so.2 => /usr/lib/libresolv.so.2 > > libpthread.so.1 => /usr/lib/libpthread.so.1 > > libdl.so.1 => /usr/lib/libdl.so.1 > > libc.so.1 => /usr/lib/libc.so.1 > > libaio.so.1 => /usr/lib/libaio.so.1 > > libmp.so.2 => /usr/lib/libmp.so.2 > > libthread.so.1 => /usr/lib/libthread.so.1 > > /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1 > > > > Greg > > How did you build apr ? > > If it's in DSO, could you make a ldd on it ?
Using the following as a configure line in jk/native2: ./configure --with-java-home=/WWW/app/java/j2sdk1.4.2_02 --with-apxs=/WWW/app/apache/1.3.26c/bin/apxs --with-apr=/var/tmp/temo/apr-0.9.4 --with-apr-util=/var/tmp/temo/apr-util-0.9.4 && /usr/local/bin/make (No other ./configure options seemed to get far....) When it configures apr-util it finds expat thus: configuring apr-util... invoking "/bin/bash ./configure --prefix=/var/tmp/temo/apr-util-0.9.4 --with-apr=/var/tmp/temo/apr-0.9.4" .... snippage apr-util: checking for Expat in /usr... no apr-util: checking for Expat in /usr/local... yes apr-util: setting APRUTIL_EXPORT_LIBS to "-lexpat" apr-util: setting APRUTIL_INCLUDES to "-I/usr/local/include" apr-util: setting APRUTIL_LDFLAGS to "-L/usr/local/lib" apr-util: setting APRUTIL_LIBS to "/usr/local/lib/libexpat.la" But the build lib needs expat linked in: $ nm ./lib/libaprutil-0.a | grep XML_GetError [34] | 0| 0|NOTY |GLOB |0 |UNDEF |XML_GetErrorCode Yet mod_jk2 does not have expat linked in (as shown by the ldd output). Should it not be building apr-util as a shared library? So that it can dynamically load libexpat? Or if not, an extra library would be required at linktime of mod_jk2? Does the above make sense? Thanks, Greg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]