pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitry Morozovsky <marck@rinet.ru>
To: Tamir Halperin <tamir@brobus.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Installed OpenSSL but still cannot install PostgreSQL
Date: Tue, 25 Mar 2003 03:20:29 +0300 (MSK)
Message-ID: <20030325031450.Q87905@woozle.rinet.ru> (raw)
In-Reply-To: <985DF46E87E0C047A3670048DBCAD0556BA9@andrew.brobus.net>
References: <985DF46E87E0C047A3670048DBCAD0556BA9@andrew.brobus.net>

On Mon, 24 Mar 2003, Tamir Halperin wrote:

TH> After following your instructions regarding the deinstallation of the
TH> openssl package and then reinstalling it with make
TH> OPENSSL_OVERWRITE_BASE=yes, I still get the same message when executing
TH> make in the /usr/ports/databases/postgresql7 directory that tells me I need
TH> to first install openssl.
TH>
TH> Here's the output of ldconfig -r | grep crypt:
TH>
TH> 	1:-lcrypt.2 => /usr/lib/libcrypt.so.2
TH> 	110:-lcrypto.2 => /usr/local/lib/libcrypto.so.2
TH> 	111:-lcrypto.3 => /usr/local/lib/libcrypto.so.3
TH> 	117:-lmcrypt.8 => /usr/local/lib/libmcrypt.so.8
TH>
TH> I'm sure there's a solution to using postgresql 7.3.2 with openssl. I just don't have it.

Well, thanks for re-checking with ldconfig we can see our
OPENSSL_OVERWRITE_BASE did not help. Something is broken during the upgrade.
Can you check whether openssl libraries reside only in /usr/local/lib and not
in /usr/lib ?

BTW, you can look at /var/bd/pkg/<pkgname-version>/+CONTENTS to see where are
the files installed by port reside. also, `pkg_info -W /path/to/the/file' is
useful to debug.

About your problem: contemporary port building system checks for OpenSSL _only_
in base system directories, particularly /usr/lib/libcrypto.so

So, possibly, quick hack like 'ln -s /usr/local/lib/libcrypto.so /usr/lib' may
help you.

Anyway, please consider upgrading to 4.8 which should be out of door this week.


Sincerely,
D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------




view thread (10+ messages)  latest in thread

Message-ID: <20030325031450.Q87905@woozle.rinet.ru>
Permalink:  ../20030325031450.Q87905@woozle.rinet.ru/
Also on:    postgresql.org/message-id/20030325031450.Q87905@woozle.rinet.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: marck@rinet.ru, tamir@brobus.net
  Subject: Re: Installed OpenSSL but still cannot install PostgreSQL
  In-Reply-To: <20030325031450.Q87905@woozle.rinet.ru>
  References: <985DF46E87E0C047A3670048DBCAD0556BA9@andrew.brobus.net> <20030325031450.Q87905@woozle.rinet.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox