Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B4D9F9FC234 for ; Fri, 29 Jun 2007 10:52:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 53586-03 for ; Fri, 29 Jun 2007 10:52:23 -0300 (ADT) X-Greylist: delayed 00:28:45.671663 by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id DBF3B9FC226 for ; Fri, 29 Jun 2007 10:52:23 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from rootabega.88thstreet.com (dsl254-071-237.nyc1.dsl.speakeasy.net [216.254.71.237]) by svr4.postgresql.org (Postfix) with ESMTP id 115C95AF2CB for ; Fri, 29 Jun 2007 13:23:33 +0000 (GMT) Received: from www.88thstreet.com (localhost [IPv6:::1]) by rootabega.88thstreet.com (8.13.3/8.13.3) with ESMTP id l5TDNKEH017341; Fri, 29 Jun 2007 09:23:20 -0400 (EDT) Received: from 63.118.86.10 (SquirrelMail authenticated user radhika) by www.88thstreet.com with HTTP; Fri, 29 Jun 2007 09:23:20 -0400 (EDT) Message-ID: <61341.63.118.86.10.1183123400.squirrel@www.88thstreet.com> Date: Fri, 29 Jun 2007 09:23:20 -0400 (EDT) Subject: Linking libraries problem after Postgres-8.2.0 install From: "Radhika Sambamurti" To: pgsql-admin@postgresql.org Cc: radhika@88thstreet.com Reply-To: radhika@88thstreet.com User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/298 X-Sequence-Number: 25966 Hi, I was running postgres-7.4.2 and upgraded to 8.2.0 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. engpc17 bin]# ldd postgres libssl.so.4 => /lib/libssl.so.4 (0x0091e000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x00b67000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x007d7000) libdl.so.2 => /lib/libdl.so.2 (0x00111000) libm.so.6 => /lib/tls/libm.so.6 (0x00ce8000) libc.so.6 => /lib/tls/libc.so.6 (0x00114000) libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x00a71000) libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x00308000) libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x0024c000) libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x0024e000) libresolv.so.2 => /lib/libresolv.so.2 (0x00260000) libz.so.1 => /usr/lib/libz.so.1 (0x005be000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00ec2000) It should be linking to: /usr/local/lib/libssl.so --> libssl.so.0.9.7 /usr/local/lib/libcrypto.so.0 -> libcrypto.so.0.9.7 Instead it is pulling from the /lib (default red-hat) location rather than /usr/local/lib. My /etc/ld.so.conf file has the correct paths in it: /usr/local/lib /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-3.1/lib /usr/lib/mysql /usr/local/pgsql/lib /usr/exa/lib /usr/exa/sys/lib /lib Any help would be appreciated. Thanks, Radhika -- It is all a matter of perspective. You choose your view by choosing where to stand. Larry Wall ---