[php-maint] Bug#730624: Bug#730624: php5-readline: unresolved symbols in readline.so shipped in php5-readline

Giacomo Mulas gmulas at oa-cagliari.inaf.it
Fri Dec 6 11:51:48 UTC 2013


On Fri, 6 Dec 2013, Ondřej Surý wrote:

> Hi Giacomo,
>
> php5-readline is not compiled against readline, but against libedit
> (sorry for the confusion),
>
> Could you check if you have recent libedit version?
>
> What does:
>
> dpkg -l libedit2
>
> and
>
> apt-cache policy libedit2
>
> output?
>
> Could you also install debsums package and do:
>
> debsums libedit2
>
> It should look like this:
>
> # debsums libedit2
> /usr/lib/x86_64-linux-gnu/libedit.so.2.0.47
>     OK
> /usr/share/doc/libedit2/TODO.Debian
>     OK
> /usr/share/doc/libedit2/changelog.Debian.gz
>     OK
> /usr/share/doc/libedit2/changelog.gz
>     OK
> /usr/share/doc/libedit2/copyright
>     OK
> /usr/share/lintian/overrides/libedit2
>     OK
>
> Also does:
>
> # nm -D /usr/lib/x86_64-linux-gnu/libedit.so.2.0.47 | grep
> rl_on_new_line
>
> output something like:
>
> 000000000001fb10 T rl_on_new_line
>
> It should and if it doesn't please try reinstalling your libedit2
> package, since it's broken.

everything above is ok, but on closer inspection I found that I had a
leftover libedit.so.2.11 in /usr/lib/i386-linux-gnu. It does not belong to
any package in my sid system, but it is identical to the version shipped in
the wheezy package. I would like to know how this happened to remain in my
system. In any case, you were right, it was not a bug in php5-readline but a
stray library. My best guess is that it was left over from some less then
perfect system update. Of course, ldconfig linked libedit.so.2 to
libedit.so.2.11 instead of libedit.so.2.0.47, since it (wrongly) looks like 
the later version.

This was a nasty one to find. I would suggest that you forward this to the
maintainer of libedit, to investigate whether this might be a common problem
in upgrading from the wheezy version to sid. My laptop is a good guinea pig,
in this respect, since I trace sid rather regularly and hardly ever put any
file where it should not go in the debian file system hierarchy (I am quite
anal bout this).

Thanks for your help and patience, bye
Giacomo

>> I am not sure whether this is a bug in php5-readline, it might be in
>> php5-cli, or in php5-cgi, or in something else related, but it sure is a
>> bug.
>>
>> Bye
>> Giacomo
>>
>> --
>> _________________________________________________________________
>>
>> Giacomo Mulas <gmulas at oa-cagliari.inaf.it>
>> _________________________________________________________________
>>
>> INAF - Osservatorio Astronomico di Cagliari
>> via della scienza 5 - 09047 Selargius (CA)
>>
>> tel.   +39 070 71180244
>> mob. : +39 329  6603810
>> _________________________________________________________________
>>
>> "When the storms are raging around you, stay right where you are"
>>                           (Freddy Mercury)
>> _________________________________________________________________
>
>
>

-- 
_________________________________________________________________

Giacomo Mulas <gmulas at oa-cagliari.inaf.it>
_________________________________________________________________

INAF - Osservatorio Astronomico di Cagliari
via della scienza 5 - 09047 Selargius (CA)

tel.   +39 070 71180244
mob. : +39 329  6603810
_________________________________________________________________

"When the storms are raging around you, stay right where you are"
                          (Freddy Mercury)
_________________________________________________________________


More information about the pkg-php-maint mailing list