Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avXw8-0008Te-1X for pgsql-bugs@arkaria.postgresql.org; Wed, 27 Apr 2016 22:28:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1avXw6-0004mf-Nf for pgsql-bugs@arkaria.postgresql.org; Wed, 27 Apr 2016 22:27:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1avXvT-00041u-VE for pgsql-bugs@postgresql.org; Wed, 27 Apr 2016 22:27:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1avXvQ-0007dN-QB for pgsql-bugs@postgresql.org; Wed, 27 Apr 2016 22:27:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u3RMR7nT004515; Wed, 27 Apr 2016 18:27:07 -0400 From: Tom Lane To: jsteffee@bepress.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14117: psql and pg_dump commands should use ENV perl In-reply-to: <20160427202409.19109.81530@wrigleys.postgresql.org> References: <20160427202409.19109.81530@wrigleys.postgresql.org> Comments: In-reply-to jsteffee@bepress.com message dated "Wed, 27 Apr 2016 20:24:09 -0000" Date: Wed, 27 Apr 2016 18:27:07 -0400 Message-ID: <4514.1461796027@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org jsteffee@bepress.com writes: > We have multiple systems which use non-system perl for various tasks, > including perl scripts which test some pg_dump commands. These break because > psql and pg_dump are hard-coded with #!/usr/bin/perl instead of > #!/usr/bin/env perl. The PERL5LIB is set up with libraries based on the perl > called with ENV, where /usr/bin/perl has libraries compiled differently. Uh, what? Neither of those programs use perl at all. We do have hard-wired uses of /usr/bin/perl in some scripts that might get used at build time, but those shouldn't really be an issue, especially not if you're using prebuilt packages, or even just building from a tarball. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs