azy question:  Cannot find libssl.so.0.9.7

Posted on 2005-04-25
Medium Priority
Last Modified: 2013-12-27
I know this is a lazy question, but I am too tired to keep searching on the web... :-)

System = SunOS sacnfsb 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V440

I have just installed apache 2.0.53 from "apache-2.0.53-sol9-sparc-local", as well as "openssl-0.9.7g" from the opensource tar built with "--prefix=/usr/local/openssl0.9.7".

When I try to start apache, I get a ...
ld.so.1: /usr/local/apache2/bin/httpd: fatal: libssl.so.0.9.7: open failed: No such file or directory
...error message.  The lib is nowhere under the "/usr/local/openssl0.9.7" dir, nor can I seem to find it anywhere else.

Where is this file, how do I get it on my system, and why did it not install with openssl as expected!?

Thanks a million!
Question by:Mike R.
  • 3
  • 3
LVL 38

Accepted Solution

yuzh earned 1000 total points
ID: 13864032
Just a silly question, have you installed openssl? if not download it from:

In my installation, I put it in /usr/local/ssl/lib, eg:

yuzh@mybox[/usr/local/ssl/lib] 136# l
total 7518
drwxr-xr-x   3 bin      bin          512 Jan 28  2004 ./
drwxr-xr-x  10 root     other        512 Jan 28  2004 ../
-rw-r--r--   1 bin      bin      1937792 Oct  3  2003 libcrypto.a
lrwxrwxrwx   1 root     other         14 Feb 16 14:35 libcrypto.so -> libcrypto.so.0*
lrwxrwxrwx   1 root     other         18 Feb 16 14:35 libcrypto.so.0 -> libcrypto.so.0.9.7*
-r-xr-xr-x   1 bin      bin      1321404 Oct  3  2003 libcrypto.so.0.9.7*
-rw-r--r--   1 bin      bin       300048 Oct  3  2003 libssl.a
lrwxrwxrwx   1 root     other         11 Feb 16 14:35 libssl.so -> libssl.so.0*
lrwxrwxrwx   1 root     other         15 Feb 16 14:35 libssl.so.0 -> libssl.so.0.9.7*
-r-xr-xr-x   1 bin      bin       235196 Oct  3  2003 libssl.so.0.9.7*
drwxr-xr-x   2 bin      bin          512 Jan 28  2004 pkgconfig/

you need to set  LD_LIBRARY_PATH to use it

Since you complied apache with "--prefix=/usr/local/openssl0.9.7", you need to "ln -s"
the lib to the dir.

LVL 38

Expert Comment

ID: 13864246
Why not download the apache 2.0.53  binary package from:

It has SSL enable, just make sure you doneload all the dependencies packages.

also have a look at Steven's installation notes (it also apply to apache 2.x):


Author Comment

by:Mike R.
ID: 13868867
Sorry, I should ave been more clear :-)

I installed apache2.0.53
OpenSSL 0.9.7

OpenSSL was compiled into "--prefix=/usr/local/openssl0.9.7"
Apache went into its default dir because it was a solaris pre-built package.

The file "libssl.so.0.9.7" appears nowehere in "/usr/local/openssl0.9.7" nor (that I can find) anywhere else on the system.)

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

by:Mike R.
ID: 13868883
P.S.  The only thing in my /usr/local/ssl0.9.7/lib directory is ...
-rw-r--r--   1 root     other    2019008 Apr 25 20:12 libcrypto.a
-rw-r--r--   1 root     other     303228 Apr 25 20:12 libssl.a
drwxrwxr-x   2 root     other        512 Apr 25 19:47 pkgconfig

LVL 38

Expert Comment

ID: 13872269
Have you try to reinstall openssl or just download it from http://sunfreeware.com/  ?

Author Comment

by:Mike R.
ID: 13873324
Oh...sorry.  I gave the points to yuzh, but apprently forgot to post the associated message.  I am not sure what was wrong with the compile I downloaded, but I got one from Sunfreeware, and it installed the rest of the files.

Thanks for the help though :-)

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question