X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DAE34475F53 for ; Mon, 24 Mar 2003 19:20:34 -0500 (EST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by postgresql.org (Postfix) with ESMTP id C0C9D475921 for ; Mon, 24 Mar 2003 19:20:29 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.8/8.12.8) with ESMTP id h2P0KT92090145; Tue, 25 Mar 2003 03:20:29 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Tue, 25 Mar 2003 03:20:29 +0300 (MSK) From: Dmitry Morozovsky To: Tamir Halperin Cc: pgsql-admin@postgresql.org Subject: Re: Installed OpenSSL but still cannot install PostgreSQL In-Reply-To: <985DF46E87E0C047A3670048DBCAD0556BA9@andrew.brobus.net> Message-ID: <20030325031450.Q87905@woozle.rinet.ru> References: <985DF46E87E0C047A3670048DBCAD0556BA9@andrew.brobus.net> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-29.3 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/407 X-Sequence-Number: 8047 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//+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 *** ------------------------------------------------------------------------