We help IT Professionals succeed at work.

installing mod_ssl-2.8.12-1.3.27

emlily
emlily asked
on
Medium Priority
396 Views
Last Modified: 2013-12-27
HI,

I had a problem with starting my apache1.3.27

I install openssl and apache by using pkgadd in solaris x86. When I want to start the apache i got this error message:

bash-2.03# /usr/local/apache/bin/apachectl start
Syntax error on line 241 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libssl.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: libssl.so.0.9.6: open failed: No such file or directory
/usr/local/apache/bin/apachectl start: httpd could not be started
bash-2.03#

seems like my system doesnt have the libssl.so.0.9.6. maybe because i havent install the mod_ssl.

now i found mod_ssl-2.8.12-1.3.27.tar.gz. which need to install by configure and make command.

Question: 1) to install the mod ssl..do i need to type this?
./configure \
    --with-apache=../apache_1.3.27 \
    --with-ssl=../openssl-0.9.8a \
    --prefix=/usr/local/apache

2) Or i just need to use ./compile command only?

thanks for help
Comment
Watch Question

Commented:
Try this before recompiling anything (this goes back to your other question - pathing....)

from a command line, type in (bourne shell assumed) "LD_LIBRARY_PATH=/usr/lib;export LD_LIBRARY_PATH"

then type "/usr/local/apache/bin/apachectl configtest"

If it doesn't complain, just add the above LD_LIBRARY_PATH statement into the profile of the user that is starting Apache.

If it still complains, do a 'find / -name 'ld.so.1' - if it's not there you might have an incomplete OS install - more than likely though, it's there on your box somewhere.  Add the path to that file in your LD_LIBRARY_PATH - try again.
hth
/bp/

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
ok tq
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.