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 \ "--...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |