The following bug has been logged on the website:
Bug reference: 12241
Logged by: Aleks
Email address: aleks.dark@inbox.ru
PostgreSQL version: 9.3.5
Operating system: Debian
Description:
Similar error to case in 2011, but this time no upgrade available. Any hints
what is going wrong?
In command line:
$ psql --version
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
linux-vdso.so.1 => (0x00007ffff1559000)
libpq.so.5 => /usr/lib64/libpq.so.5 (0x00007f95adb92000)
libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f95ad932000)
libedit.so.2 => /usr/lib64/libedit.so.2 (0x00007f95ad709000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f95ad37d000)
libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f95acf85000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007f95accb0000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2
(0x00007f95acaac000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007f95ac86d000)
libldap_r-2.4.so.2 => /usr/lib64/libldap_r-2.4.so.2 (0x00007f95ac61b000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f95ac3ff000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f95ac1fb000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f95abfe3000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f95abdd6000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f95abbad000)
/lib64/ld-linux-x86-64.so.2 (0x00007f95ae097000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007f95ab983000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007f95ab77a000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1
(0x00007f95ab576000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
(0x00007f95ab35f000)
liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007f95ab150000)
libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f95aaf35000)
libgnutls.so.26 => /usr/lib64/libgnutls.so.26 (0x00007f95aac74000)
libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11
(0x00007f95aa9f5000)
libtasn1.so.3 => /usr/lib64/libtasn1.so.3 (0x00007f95aa7e3000)
libp11-kit.so.0 => /usr/lib64/libp11-kit.so.0 (0x00007f95aa5d1000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
(0x00007f95aa3ce000)
----------
apt-cache policy libedit2
libedit2:
Installed: 2.11-20080614-5
Candidate: 2.11-20080614-5
Version table:
*** 2.11-20080614-5 0
500 http://ftp.fi.debian.org/debian/ wheezy/main amd64 Packages
100 /var/lib/dpkg/status