Re: Help! Error Compiling

From: "Keith Bottner" <kbottner(at)comcast(dot)net>
To: "'Richard Huxton'" <dev(at)archonet(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Help! Error Compiling
Date: 2004-05-18 20:05:20
Message-ID: 009501c43d13$72b36950$7d00a8c0@juxtapose
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Richard Huxton
Sent: Tuesday, May 18, 2004 12:58 PM
To: Keith Bottner
Cc: pgsql-general(at)postgresql(dot)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(at)postgresql(dot)org)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Taras V. Panchenko 2004-05-18 20:30:43 initdb fails
Previous Message Keary Suska 2004-05-18 19:26:17 Re: left outer join issue?