Re: Installed OpenSSL but still cannot install PostgreSQL

From: "Tamir Halperin" <tamir(at)brobus(dot)net>
To: "Dmitry Morozovsky" <marck(at)rinet(dot)ru>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Installed OpenSSL but still cannot install PostgreSQL
Date: 2003-03-25 01:10:17
Message-ID: 985DF46E87E0C047A3670048DBCAD0556BB1@andrew.brobus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> -----Original Message-----
> From: Dmitry Morozovsky [mailto:marck(at)rinet(dot)ru]
> Sent: Monday, March 24, 2003 7:20 PM
> To: Tamir Halperin
> Cc: pgsql-admin(at)postgresql(dot)org
> Subject: RE: [ADMIN] Installed OpenSSL but still cannot install
> PostgreSQL
>
>
> 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.

I can't believe it. After two days of scraping around for why it isn't working and one command later it works!

It's amazing what knowledge will do for a person's outlook on life.

The above ln command worked and postgresql 7.3.2 is currently installing.

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

This is not the mail list for such a question but since you bring it up, can you point me to a concise documented procedure for upgrading my 4.6 to 4.7 or 4.8?

If you prefer, you can post it to freebsd-questions where I will eagerly await your response. Thanks again and again.

Tamir

>
> Sincerely,
> D.Marck [DM5020,
> DM268-RIPE, DM3-RIPN]
> --------------------------------------------------------------
> ----------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle ---
> marck(at)rinet(dot)ru ***
> --------------------------------------------------------------
> ----------
>

Browse pgsql-admin by date

  From Date Subject
Next Message Devi Munandar 2003-03-25 02:16:30 stable phppgadmin version
Previous Message Dmitry Morozovsky 2003-03-25 00:20:29 Re: Installed OpenSSL but still cannot install PostgreSQL