Bluehost.com Web Hosting $6.95

apache modssl

This is a discussion on apache modssl within the Apache Web Server forums, part of the Web Server and Related Forums category; I installed the apache 1.3.27 with modssl on my solaris 8 like SSL_BASE=/usr/local/ssl ../configure \ "--...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-29-2003
trevor
 
Posts: n/a
Default apache modssl

I installed the apache 1.3.27 with modssl on my solaris 8 like

SSL_BASE=/usr/local/ssl
../configure \
"--with-apache=../apache_1.3.27" \
"--with-ssl=/usr/local/ssl" \

the installation went alright and apache is working fine with
http and https but when I stop apache and try to restart with ssl
(./apachectl startssl) I get the following error message

ld.so.1: /usr/local/apache_1.3.27/bin/httpd: fatal: libssl.so.0.9.6:
open failed
No such file or directory Killed

if I set my library path to export LD_LIBRARY_PATH=/usr/local/ssl/lib
in my .profile file
I would be able to start apache with ssl successfully without no
error message but I dont want to kept seting my LD_LIBRARY_PATH
in other to avoid the above error message and besides I want https to
startup in my startup script when my machine is rebooted but the above
error will be display is if LD_LIBRARY_PATH is not set.

How can I compile apache with modssl so that onces it installed I
don't
keep getting the above error message.
  #2 (permalink)  
Old 10-29-2003
Davide Bianchi
 
Posts: n/a
Default Re: apache modssl

trevor <trevor_obba@yahoo.co.uk> wrote:
> ld.so.1: /usr/local/apache_1.3.27/bin/httpd: fatal: libssl.so.0.9.6:
> open failed
> No such file or directory Killed


You can add /usr/local/ssl/lib to the /etc/ld.so.conf and re-run
ldconfig, or put the relevant links in the /usr/local/lib
directory.

Davide
  #3 (permalink)  
Old 10-30-2003
trevor
 
Posts: n/a
Default Re: apache modssl

Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<bnp834$137lgo$11@ID-18487.news.uni-berlin.de>...
> trevor <trevor_obba@yahoo.co.uk> wrote:
> > ld.so.1: /usr/local/apache_1.3.27/bin/httpd: fatal: libssl.so.0.9.6:
> > open failed
> > No such file or directory Killed

>
> You can add /usr/local/ssl/lib to the /etc/ld.so.conf and re-run
> ldconfig, or put the relevant links in the /usr/local/lib
> directory.
>
> Davide


Thanks Davids for your reply, My os is solaris 9, solaris do not have
ld.so.conf or ldconfig only linux does. What links are needed in
/usr/local/lib, can you please let me know what links are needed.

Thanks again
  #4 (permalink)  
Old 10-31-2003
Davide Bianchi
 
Posts: n/a
Default Re: apache modssl

trevor <trevor_obba@yahoo.co.uk> wrote:
> .so.conf or ldconfig only linux does.


Sorry, missed that bit.

> /usr/local/lib, can you please let me know what links are needed.


Well, if you have compiled openssl and mod_ssl to use shared dir,
you should copy openssl.so.* in /lib or /usr/lib so to have them in
the correct position. But what I wonder: standard compilation of
mod_ssl doesn't use shared libraries, why yours does?

Davide
  #5 (permalink)  
Old 11-17-2003
trevor
 
Posts: n/a
Default Re: apache modssl

Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<bnt1hn$14u5cn$1@ID-18487.news.uni-berlin.de>...
> trevor <trevor_obba@yahoo.co.uk> wrote:
> > .so.conf or ldconfig only linux does.

>
> Sorry, missed that bit.
>
> > /usr/local/lib, can you please let me know what links are needed.

>
> Well, if you have compiled openssl and mod_ssl to use shared dir,
> you should copy openssl.so.* in /lib or /usr/lib so to have them in
> the correct position. But what I wonder: standard compilation of
> mod_ssl doesn't use shared libraries, why yours does?
>
> Davide


Thanks Davide you solved my problem
 
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 09:50 AM.


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