Re: BUG #12241: uninitialized value $lib_path - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #12241: uninitialized value $lib_path
Date
Msg-id 6968.1418692778@sss.pgh.pa.us
Whole thread Raw
In response to BUG #12241: uninitialized value $lib_path  (aleks.dark@inbox.ru)
Responses Re[2]: [BUGS] BUG #12241: uninitialized value $lib_path
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #12242: No error - if there is no comma seperator
Next
From: David G Johnston
Date:
Subject: Re: BUG #12241: uninitialized value $lib_path