Short answer to subject: Yes.

More below

On 9/30/2011 1:01 PM, michael lush wrote:
I'm attempting to install postgres with ssl
and I'm getting the error

configure: error: library 'crypto' is required for OpenSSL

I don't have root on the machine I'm working on so did a local install
of openssl
using the source http://www.openssl.org/source/openssl-1.0.0e.tar.gz
Good!

I think I've pointed postgres configure at the local openssl install
however I'm still getting the same error
Looks like you didn't, or the postgress sources look for a file not copied to the
local install dir by default.

A bit of googling suggests I need to install openssl-devel to get 'crypto'
This refers to binary pre-compiled openssl packages, where they usually put just the runtime DLL/so and the command line openssl tool in the main openssl package, and all the headers etc. in an additional openssl-devel package, to save disk space on computers that won't be used to compile other software.

When installing from source you get everything at once, although not all the stuff may be copied to your
local install dir.


So my question is,  is crypto part of openssl-1.0.0e.tar.gz
Yes.
If it is I'm pointing configure at the wrong place and I need to look
elsewhere :-)
Maybe. Maybe not. Look in your local install and make sure all of the following is there:
A directory "include/openssl/" containing lots of header files
Linkable shared libraries "lib/libcrypto.so" and "lib/libssl.so" (.DLL if Windows, OS/2 or Symbian). Linkable static libraries "lib/libcrypto.a" and "lib/libssl.a" (.LIB if Windows, OS/2 or Symbian).

is its not what do I need to install|?

--
Michael Lush
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to