Hello Martin,
On Mon, Oct 03, 2011 at 07:46:48PM +0200, Martin Pitt wrote:
> Helge Kreutzmann [2011-10-02 17:08 +0200]:
> > Until last saturday (Sept. 23rd) psql behaved as expected. I haven't
> > used psql since today, when several strange things broke in psql:
> 
> This sounds like it now fails to set the necessary LD_PRELOAD for
> libreadline and falls back to the rather limited libedit. The most
> likely change was
> 
> postgresql-common (122) unstable; urgency=low
> [...]
>   * pg_wrapper: Find libreadline in multiarch directory, too.
>     (Closes: #640520)
> 
>   http://bazaar.launchpad.net/~pitti/postgresql/common/revision/1098
> 
> This change worked for me in current sid (where libreadline6 is
> multiarch-ified), and Ubuntu (where it is not yet), as well as in my
> sarge chroot.
> 
> Seems something is different for you, can you please give me the
> output of
>  
>    ls -l /lib/libreadline.so* /lib/*/libreadline.so*

ls: cannot access /lib/libreadline.so*: No such file or directory
lrwxrwxrwx 1 root root     18 Aug 23 00:07 
/lib/x86_64-linux-gnu/libreadline.so.5 -> libreadline.so.5.2
-rw-r--r-- 1 root root 262120 Aug 23 00:07 
/lib/x86_64-linux-gnu/libreadline.so.5.2
lrwxrwxrwx 1 root root     18 Aug 24 10:10 
/lib/x86_64-linux-gnu/libreadline.so.6 -> libreadline.so.6.2
-rw-r--r-- 1 root root 282288 Aug 24 10:10 
/lib/x86_64-linux-gnu/libreadline.so.6.2

>    dpkg -l 'libreadline*'

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                         Version                        
              Description
+++-============================================-============================================-========================================================================================================
un  libreadline-common                           <none>                         
              (no description available)
un  libreadline-ruby1.8                          <none>                         
              (no description available)
un  libreadline4                                 <none>                         
              (no description available)
ii  libreadline5                                 5.2-10                         
              GNU readline and history libraries, run-time libraries
ii  libreadline6                                 6.2-4                          
              GNU readline and history libraries, run-time libraries

If that matters, I'm running testing and update regularly (though not in the
period between 26-29 of September, as I was offline).

If you need further information, do not hesitate to ask.

Thanks!

Greetings

           Helge

-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to