Re: [GENERAL] Compilation fails --with-ssl on Solaris 8

From: Justin Clift <justin(at)postgresql(dot)org>
To: Arcady Genkin <a(dot)genkin(at)utoronto(dot)ca>
Cc: Postgres-general <pgsql-general(at)postgresql(dot)org>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [GENERAL] Compilation fails --with-ssl on Solaris 8
Date: 2001-05-26 01:13:45
Message-ID: 3B0F0349.C72414AB@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Hi Arcady,

This problem occurs with some versions of OpenSSL on Solaris and
Unixware.

There's an installation guide for PostgreSQL 7.1.1 on Solaris 7/8, and
includes the fix needed for getting SSL to work in your scenario. The
installation guide is at :

http://techdocs.postgresql.org/installguides.php#solaris

Hope that's helpful.

:-)

Regards and best wishes,

Justin Clift

Arcady Genkin wrote:
>
> System:
>
> SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
>
> Configuration options:
>
> env CFLAGS='-O2 -pipe' ./configure --prefix=/opt/pgsql \
> --with-perl --with-python --with-CXX \
> --with-openssl=/local/lib/openssl
>
> Compilation fails with the following error:
>
> In file included from crypt.c:27:
> /usr/include/crypt.h:23: conflicting types for `des_encrypt'
> /local/lib/openssl/include/openssl/des.h:150: previous declaration of `des_encrypt'
> make[3]: *** [crypt.o] Error 1
> make[3]: Leaving directory `/admin/src/postgresql-7.1.1/src/backend/libpq'
> make[2]: *** [libpq-recursive] Error 2
> make[2]: Leaving directory `/admin/src/postgresql-7.1.1/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/admin/src/postgresql-7.1.1/src'
> make: *** [all] Error 2
>
> --
> Arcady Genkin
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Paul-Andre Panon 2001-05-26 01:28:48 SQL update statements are failing if submitted in sequence on same connection
Previous Message Panon, Paul-Andre 2001-05-26 01:06:48 SQL update statements are failing if submitted in sequence on sam e connection

Browse pgsql-general by date

  From Date Subject
Next Message Justin Clift 2001-05-26 01:21:41 Re: ERWin
Previous Message Tony Reina 2001-05-25 23:18:47 Windows SQL query interface