Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 1128B9FC22F for ; Fri, 29 Jun 2007 14:42:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 48644-02 for ; Fri, 29 Jun 2007 14:42:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9653D9FBDFF for ; Fri, 29 Jun 2007 14:42:17 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l5THg8VE006261; Fri, 29 Jun 2007 13:42:09 -0400 (EDT) To: radhika@88thstreet.com cc: pgsql-admin@postgresql.org Subject: Re: Linking libraries problem after Postgres-8.2.0 install] In-reply-to: <33063.63.118.86.10.1183135857.squirrel@www.88thstreet.com> References: <33063.63.118.86.10.1183135857.squirrel@www.88thstreet.com> Comments: In-reply-to "Radhika Sambamurti" message dated "Fri, 29 Jun 2007 12:50:57 -0400" Date: Fri, 29 Jun 2007 13:42:08 -0400 Message-ID: <6260.1183138928@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/308 X-Sequence-Number: 25976 "Radhika Sambamurti" writes: > Postgres-8.2.0 built successfully. But when I do an ldd on postgres I see > that it is linking to the wrong openssl and crypto libraries. > ... > Instead it is pulling from the /lib (default red-hat) location rather than > /usr/local/lib. If you think that is wrong, perhaps you need to specify --with-libraries (maybe also --with-includes) to configure? This is going to be affected by link-time as well as run-time library search order. I'm not sure what is the default link-time search path on your system. regards, tom lane