On Sat, May 03, 2008 at 08:36:59PM +0200, Sven Joachim wrote:
> Am 03.05.2008 um 20:05 schrieb Adrian Bunk:
> 
> > What fails is the update-alternatives invocation in irssi's prerm.
> 
> That's because liblocale-gettext-perl was still the old version linked
> against perlapi-5.8.*, this causes the symbol lookup error.  The new
> version had not been unpacked yet.

No, it's the other way around. The new liblocale-gettext-perl is
unpacked but perl-base isn't yet.

The problem is that while Dpkg::Gettext (and Debconf::Gettext for that
matter) do the right thing with an "eval 'use Locale::gettext'", the error
(presumably from dlopen()) isn't caught:

# perl -le 'eval "use Locale::gettext"; print "got: $@" if $@; exit 0'; echo $?
perl: symbol lookup error: /usr/lib/perl5/auto/Locale/gettext/gettext.so: 
undefined symbol: Perl_Istack_sp_ptr
127

No fix yet, but the only way out I see is having some
package(s?) pre-depend on the new perl-base. Fixing the eval/dlopen
interaction in perl is out of the question because this is happening
when the old perl-base version is still installed.

Any help and ideas welcome.
-- 
Niko Tyni   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to