470,588 Members | 2,126 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,588 developers. It's quick & easy.

Help! Error Compiling

I just reinstalled my system and am in the process of getting PostgreSQL up
and running again. During compilation of Postgres I received the following
error:

.... [A lot of configure messages go here]
checking for main in -lunix... no
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... none required
checking for shmget in -lcygipc... no
checking for readline... yes (-lreadline)
checking for inflate in -lz... yes
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: library 'crypto' is required for OpenSSL

I have never received this error before. It does appear that the crypt
libraries are installed as can be seen on the second line of output that I
included. Not knowing how the configure file works I was wondering if it is
looking for something related but is using an inappropriate error message?
Any ideas?

Keith
Nov 23 '05 #1
2 5714
Keith Bottner wrote:
I just reinstalled my system and am in the process of getting PostgreSQL up
and running again. During compilation of Postgres I received the following
error:

... [A lot of configure messages go here]
checking for main in -lunix... no
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... none required
checking for shmget in -lcygipc... no
checking for readline... yes (-lreadline)
checking for inflate in -lz... yes
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: library 'crypto' is required for OpenSSL

I have never received this error before. It does appear that the crypt
libraries are installed as can be seen on the second line of output that I
included. Not knowing how the configure file works I was wondering if it is
looking for something related but is using an inappropriate error message?
Any ideas?


"crypt" will be the traditional unix-style passwd encryption.
"crypto" appears to be ssl-related stuff.
You probably want to make sure you've installed the development package
(headers) for openssl.

P.S. There are PostgreSQL packages for common platforms, that's probably
the simplest way to install.
--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #2
Richard,

You were right I had to install the OpenSSL development package, then all
was well. Thanks for the pointer!

Keith

-----Original Message-----
From: pg*****************@postgresql.org
[mailto:pg*****************@postgresql.org] On Behalf Of Richard Huxton
Sent: Tuesday, May 18, 2004 12:58 PM
To: Keith Bottner
Cc: pg***********@postgresql.org
Subject: Re: [GENERAL] Help! Error Compiling
Keith Bottner wrote:
I just reinstalled my system and am in the process of getting
PostgreSQL up and running again. During compilation of Postgres I
received the following
error:

... [A lot of configure messages go here]
checking for main in -lunix... no
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... none required checking
for shmget in -lcygipc... no checking for readline... yes (-lreadline)
checking for inflate in -lz... yes
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: library 'crypto' is required for OpenSSL

I have never received this error before. It does appear that the crypt
libraries are installed as can be seen on the second line of output
that I included. Not knowing how the configure file works I was
wondering if it is looking for something related but is using an
inappropriate error message? Any ideas?


"crypt" will be the traditional unix-style passwd encryption. "crypto"
appears to be ssl-related stuff. You probably want to make sure you've
installed the development package
(headers) for openssl.

P.S. There are PostgreSQL packages for common platforms, that's probably
the simplest way to install.
--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Tom | last post: by
4 posts views Thread by Sarir Khamsi | last post: by
2 posts views Thread by Sudheer Kareem | last post: by
6 posts views Thread by d.warnermurray | last post: by
7 posts views Thread by Corepaul | last post: by
5 posts views Thread by Steve | last post: by
8 posts views Thread by Mark | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.