tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: HPUX Itanium Native Connector Build Error
Date Wed, 09 Nov 2005 20:08:00 GMT
On Solaris you need to add the '-fpic' option to config in OpenSSL to get
libtcnative.so to link with a static OpenSSL (it's the same for compiling
mod_ssl).  HPUX may require something similar.

Of course, having done that, you might as well go all the way and build a
shared OpenSSL. :)

----- Original Message -----
From: "Yoav Shapira" <yoavs@apache.org>
To: "Tomcat Developers List" <dev@tomcat.apache.org>
Sent: Wednesday, November 09, 2005 11:14 AM
Subject: RE: HPUX Itanium Native Connector Build Error


Josh,
Did the relevant docs say you need to build OpenSSL as a shared library?  If
not, I'd like to correct that... Thanks,

Yoav

--- "Fenlason, Josh" <jfenlason@ptc.com> wrote:

> It turned out to be something with my OpenSSL build.  Once I was able to
> build OpenSSL as a shared library, the connector built fine.  For
> whatever reason it didn't like my static OpenSSL build.  I haven't
> gotten to test it much yet, but it seems to be working so far.  Thanks.
> ,
> Josh.
>
> > -----Original Message-----
> > From: Jean-frederic Clere [mailto:jfclere@telefonica.net]
> > Sent: Wednesday, November 09, 2005 12:50 PM
> > To: Tomcat Developers List
> > Subject: Re: HPUX Itanium Native Connector Build Error
> >
> >
> > Fenlason, Josh wrote:
> >
> > >Hey everybody!
> > >I'm trying to build the native apr connector from Tomcat
> > 5.5.12 on HPUX
> > >Itanium and I'm running into a problem during the configure.
> >  APR 1.2.2
> > >built fine.  I built OpenSSL 0.9.8a as a static library (I
> > couldn't get
> > >it to build as a shared library.)  When I try to configure
> > the tomcat
> > >native connector, I get the following error:
> > >
> > >checking for openssl/engine.h... yes
> > >checking for SSLeay_version in -lcrypto... no
> > >checking for SSL_CTX_new in -lssl... no
> > >checking for ENGINE_init... no
> > >checking for ENGINE_load_builtin_engines... no
> > >checking for SSL_set_cert_store... no
> > >configure: error: ... Error, SSL/TLS libraries were missing
> > or unusable
> > >
> > >
> > The config.log probably contains more information about what
> > is going wrong.
> >
> > >
> > >Here's my build environment:
> > >gcc 3.3.1
> > >gnu make 3.79.1
> > >
> > >Here's how I configured the native connector
> > >CC="gcc -static-libgcc" \
> > >CPPFLAGS="-I/home/snow/jfenlason/hp/lib/opensslStaticDist/include" \
> > >SHLIB_PATH="/home/snow/jfenlason/hp/lib/opensslStaticDist/lib" \
> > >CFLAGS="-O2" \ ./configure \
> > >"--prefix=/home/snow/jfenlason/hp/lib/tomcatNativeConnector" \
> > >"--with-apr=/home/snow/jfenlason/hp/lib/apr" \
> > >"--with-ssl=/home/snow/jfenlason/hp/lib/opensslStaticDist" \
> > >"--with-java_home=/opt/java1.5" \
> > >"--with-java-platform=2" \
> > >"$@"
> > >
> > >Has anyone been able to get this to work?  Suggestions on what I'm
> > >doing wrong would be greatly appreciated.  Thanks in advance. ,
> > >Josh.
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: dev-help@tomcat.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>


Yoav Shapira
System Design and Management Fellow
MIT Sloan School of Management
Cambridge, MA, USA
yoavs@computer.org / www.yoavshapira.com

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




This message is intended only for the use of the person(s) listed above as the intended recipient(s),
and may contain information that is PRIVILEGED and CONFIDENTIAL.  If you are not an intended
recipient, you may not read, copy, or distribute this message or any attachment. If you received
this communication in error, please notify us immediately by e-mail and then delete all copies
of this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet
is not secure. Do not send confidential or sensitive information, such as social security
numbers, account numbers, personal identification numbers and passwords, to us via ordinary
(unencrypted) e-mail.


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


Mime
View raw message