Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0gnr-0002ov-8i for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Dec 2014 01:19:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y0gnq-0003FF-Pd for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Dec 2014 01:19:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y0gnp-0003F8-ON for pgsql-bugs@postgresql.org; Tue, 16 Dec 2014 01:19:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y0gni-0005ba-DU for pgsql-bugs@postgresql.org; Tue, 16 Dec 2014 01:19:52 +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 sBG1Jc0o006969; Mon, 15 Dec 2014 20:19:38 -0500 From: Tom Lane To: aleks.dark@inbox.ru cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12241: uninitialized value $lib_path In-reply-to: <20141215151555.2693.88440@wrigleys.postgresql.org> References: <20141215151555.2693.88440@wrigleys.postgresql.org> Comments: In-reply-to aleks.dark@inbox.ru message dated "Mon, 15 Dec 2014 15:15:55 +0000" Date: Mon, 15 Dec 2014 20:19:38 -0500 Message-ID: <6968.1418692778@sss.pgh.pa.us> X-Pg-Spam-Score: -1.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 aleks.dark@inbox.ru writes: > Similar error to case in 2011, but this time no upgrade available. Any hints > what is going wrong? > Use of uninitialized value $lib_path in concatenation (.) or string at > /usr/bin/psql line 132. > psql (PostgreSQL) 9.3.5 > $ ldd /usr/lib/postgresql/9.3/bin/psql Note that the complaint is specifically about /usr/bin/psql, not /usr/lib/postgresql/9.3/bin/psql. I would guess that /usr/bin/psql is a Perl script that is supposed to invoke the real psql but is going off the rails somehow. You will need to speak with whoever produced the PG package you're using, because any such script would've been supplied by the packager, not by the Postgres community. 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