Build Apache 1.3.37 with mod_ssl on Ubuntu x86_64

This is a discussion on Build Apache 1.3.37 with mod_ssl on Ubuntu x86_64 within the Modssl Users forums, part of the Web Server and Related Forums category; I'm trying to build apache 1.3.37 with ssl support on a Ubuntu 6.1 running on a ...


Go Back   Usenet Forums > Web Server and Related Forums > Modssl Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2007
Gianluca Magalotti
 
Posts: n/a
Default Build Apache 1.3.37 with mod_ssl on Ubuntu x86_64

I'm trying to build apache 1.3.37 with ssl support on a Ubuntu 6.1
running on a AMD Turion 64.
I've downloaded the following packages:
Apache 1.3.37 sources (apache_1.3.37.tar.gz from httpd.apache.org)
Mod SSL 2.8.28 (mod_ssl-2.8.28-1.3.37.tar.gz from www.modssl.org)
Open SSL 0.9.8e (openssl-0.9.8e.tar.gz from www.openssl.org)
I've built openssl as described into the INSTALL file provided with
mod_ssl distribution, using gcc-4.0:
../config no-idea -fPIC no-threads --prefix=/path/to/local/openssl
make
make test
make install
Then I've patched Apache by using (into the mod_ssl directory):
../Configure --with-apache=/path/to/local/apache

then I've switched to the apache tree and configured it as follows:

MM_BASE=/path/to/mm/ \
SSL_BASE=/path/to/local/openssl \
../configure \
--prefix=/path/to/local/apache \
--enable-module=most \
--enable-shared=max \
--disable-module=auth_dbm \
--disable-module=cern_meta \
--disable-module=log_agent \
--disable-module=log_referer \
--disable-module=usertrack
make

I received the ld error while linking libssl.so saying that libcrypto.a
(module x86_64cpuid.o) cannot be relocated, compile with -fPIC (but is
what I've done).
I've also tried using gcc-3.3 as well as using -fpic instead of -fPIC
while building openssl.
I've tried to use the DSO version of libcrypto/libssl and compilation
coes well but when starting apache it stops due to unresolved symbols
(SSL_xxxx).
I found nothing appropriate on the Internet, because all solutions are
"rebuild openssl with -fPIC (but is what I'm doing).

Can someone help me?
Thanks in Advance
Gianluca



--
*Gianluca Magalotti* View Gianluca Magalotti's profile on LinkedIn
<http://www.linkedin.com/in/gianlucamagalotti>
Ph: +393489326722
__________________________________________________ ____________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:58 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0