Thread: 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
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
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
Richard, You were right I had to install the OpenSSL development package, then all was well. Thanks for the pointer! Keith -----Original Message----- From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Richard Huxton Sent: Tuesday, May 18, 2004 12:58 PM To: Keith Bottner Cc: pgsql-general@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 majordomo@postgresql.org)