X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 915968B9C05; Tue, 1 Feb 2005 03:45:12 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 96412-01; Tue, 1 Feb 2005 03:45:06 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 11D1C8B9BD3; Tue, 1 Feb 2005 03:45:09 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j113j8Tg009383; Mon, 31 Jan 2005 22:45:08 -0500 (EST) To: Rolf Sponsel Cc: pgsql-bugs@postgresql.org, pgsql-ports@postgresql.org Subject: Re: [Feed-back] Installing PostgreSQL 8.0.0 on SPARC/Solaris. Configure and install issues. In-reply-to: <41FBECBD.2000906@kstr.lth.se> References: <41FBECBD.2000906@kstr.lth.se> Comments: In-reply-to Rolf Sponsel message dated "Sat, 29 Jan 2005 21:06:21 +0100" Date: Mon, 31 Jan 2005 22:45:08 -0500 Message-ID: <9382.1107229508@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/12 X-Sequence-Number: 10844 Rolf Sponsel writes: > From my understanding, the preferred way > for Solaris is to only set LD_RUN_PATH, > and avoid setting LD_LIBRARY_PATH, at > link-time. This is what I usually do. No, the preferred thing is to set -rpath within the executable, which we do already (see Makefile.solaris). It's possible that you need to modify rpathdir to include /usr/local/ssl/lib and /usr/local/lib, but I'd think that indicates fairly serious brain damage in Solaris' runtime loader. We have many other Solaris users and none of them have complained of this, so I wonder if you don't have something misconfigured. > 1). If I run './configure --with-pam --with-ssl' with > LD_RUN_PATH = '/usr/local/ssl/lib:/usr/local/lib' > configure will fail to find the ssl libs, if I do > not have LD_LIBRARY_PATH set. See configure's --with-libraries option. regards, tom lane