You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Sullivan, Patrick" <Pa...@Centura.Org> on 2004/03/18 19:38:03 UTC

Mod_jk.so on Compaq Tru64

Does any one recognize these?

Built:
 Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol "map_alloc" unresolved

Binary:
Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen: 
 /usr/local/stow/apache/lib/mod_jk.so: symbol "__builtin_va_start"


Thank you,

Patrick Sullivan
Centura Health

-----Original Message-----
From: Brian Beckman [mailto:BBeckman@ciber.com] 
Sent: Tuesday, March 16, 2004 4:39 PM
To: Sullivan, Patrick
Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64


Patrick,

1 ) Yes, I have "alpha    java     jawt.h   jni.h    jvmdi.h  jvmpi.h "
in
$JAVA_HOME/include

2) I do have the classic dir in the LD_LIBRARY_PATH but the file is
actually libjvm.so, not libjvm.a

3) Java -verison gives: 
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition
Fast VM (build 1.3.1-2, native threads, mixed mode, 01/16/2002-13:22)

4) When I echo LD_LIBRARY_PATH, I get:

/lib:/usr/lib:/prod/ccs/lib:/prod/gen/lib/shared:/sfwr01/cobol/lib:/usr/
opt/
java
131/jre/lib/alpha/classic:/usr/opt/java131/jre/lib/alpha

I tried the find command and it did not find anything.

Any other ideas?

Thanks!
Brian

-----Original Message-----
From: Patrick J. Sullivan [mailto:patricksullivan@centura.org] 
Sent: Monday, March 15, 2004 4:11 PM
To: Lawson_SysAdmin@topica.com
Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64

Can you send your envvars file?

Goto $JAVA_HOME/include do you have jni.h and jvmXX.h (XX being place
holder for different flavors.) or just find $JAVA_HOME -name "*.h"

find the archive:  find $JAVA_HOME -name "*vm*.a"
on AIX with JDK 1.3.1 it is: /usr/java131/jre/bin/classic/libjvm.a

Is this path in your LIBPATH?

What vendor and version of JDK?

as for map_alloc sounds like /usr/lib or what ever HP uses is not in
your LIBPATH either.

find /usr/lib -exec grep -l map_alloc {} \; I believe it is defined in
/usr/lib/boot/unix which maybe a symbolic link to vendor specific file.

let me know

Brian Beckman wrote:
> 
> For now, I'm using Apache 1.3.27, Tomcat 4.0.6, and the connector that
> came with the 4.0.6.
> 
> I was able to build a mod_jk using apxs, but when I try to start
> apache, I
> get:
> 
> Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
> /usr/local/stow/apache/lib/mod_jk.so: symbol "map_alloc" unresolved
> /usr/local/bin/apachectl start: httpd could not be started
> 
> I found a pre-built mod_jk.so for Tru64 5.1 and when I use that, I get
> the following error:
> 
> Syntax error on line 65 of /usr/local/stow/apache/etc/httpd.conf:
> Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
> /usr/local/stow/apache/lib/mod_jk.so: symbol "__builtin_va_start"
> unresolved
> /usr/local/bin/apachectl start: httpd could not be started
> 
> Thanks for your help.
> 
> Brian
> 
> -----Original Message-----
> From: Patrick J. Sullivan [mailto:patricksullivan@centura.org]
> Sent: Monday, March 15, 2004 2:31 PM
> To: Lawson_SysAdmin@topica.com
> Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64
> 
> What error messages are you getting?
> 
> Which version Apache?
> Which version Tomcat?
> Which version Connector?
> 
> 
> With mod_jk I had to play with my share libraries, path and cc 
> options. Let me know
>  
> Brian Beckman wrote:
> > 
> > 
> > I"m trying to get Apache/Tomcat to work on Tru64 without much luck.
> > Has anyone out there successfully built and loaded the mod_jk.so 
> > module on
> > Tru64
> > 5.1?  If so, what c compiler, build command, and system libraries 
> > did you use?
> >  
> > Thanks,
> > Brian
> > 
> > [Non-text portions of this message have been removed]
> > 

*****************************************************************************
This communication is for the use of the intended recipient only.  It may 
contain information that is privileged and confidential.  If you are not the 
intended recipient of this communication, any disclosure, copying, further 
distribution or use thereof is prohibited.  If you have received this 
communication in error, please advise me by return e-mail or by telephone and 
delete/destroy it.
*****************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org