tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danomano <dshopk...@earthlink.net>
Subject Re: tomcat apr/ssl cento5 x64 (make failing..)
Date Thu, 06 Aug 2009 18:19:14 GMT

RESOLVED:
when configuring openssl, you must run: 
 ./config shared

Cheers


danomano wrote:
> 
> Hi all, I've been trying to get this working...but no luck..
> 
> 
> anyways..my system config is as follows:
> 
> [root@s1 native]# uname -a
> Linux s1.xxxxx.com 2.6.18-128.1.16.el5xen #1 SMP Tue Jun 30 06:39:23 EDT
> 2009 x86_64 x86_64 x86_64 GNU/Linux
> 
> [root@s1 native]# java -version
> java version "1.6.0_15"
> Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
> Java HotSpot(TM) Client VM (build 14.1-b02, mixed mode, sharing)
> 
> When BUILDING...
> 
> when building apr (1.1.38):
> ./configure
> make
> make install
> 
> when building tomcat native (tomcat-native-1.1.14) (tomcat 6.0.18):
> ./configure --with-apr=/usr/local/apr --with-ssl=/usr/local/ssl
> make
> 
> ERRORS out:
> lo src/misc.lo src/bb.lo src/sslnetwork.lo src/os.lo src/pool.lo
> os/unix/system.lo os/unix/uxpipe.lo -L/usr/local/ssl/lib
> -Wl,-rpath,/usr/local/ssl/lib -lssl -lcrypto 
> /usr/local/apr/lib/libapr-1.la -luuid -lrt -lcrypt  -lpthread -ldl
> /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_meth.o): relocation
> R_X86_64_32 against `a local symbol' can not be used when making a shared
> object; recompile with -fPIC
> /usr/local/ssl/lib/libssl.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [libtcnative-1.la] Error 1
> make[1]: Leaving directory
> `/devel/tomcat/bin/tomcat-native-1.1.14-src/jni/native'
> make: *** [all-recursive] Error 1
> 
> I tied adding the -fPIC to the CFLAGS..but no differance....
> 
> any thoughts?
> 
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/tomcat-apr-ssl-cento5-x64-%28make-failing..%29-tp24849995p24851779.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message