[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#278417: libxt6 4.3.0.dfsg.1-8 pre-installation script fails



On Wed, Nov 03, 2004 at 01:42:16PM -0500, Branden Robinson wrote:
>  libxt6 uses debconf in its preinst script.  Debconf in turn uses the Perl
>  module Text::Iconv (to perform character set conversion for the
>  presentation of appropriately localized template choices and
>  descriptions, perhaps among other functions).  Text::Iconv is an XS
>  module in the version of Perl in sarge, meaning that it's written in C
>  and is therefore an ELF object linked in by the Perl interpreter when
>  needed.  By default, Perl performs "lazy" loading of XS modules -- that
>  is, it assumes that all the required symbols will be resolved without
>  actually checking.

>  Unfortunately, there does not appear to be a way to programmatically turn
>  off lazy module loading.  That is, we can't just add a line of code to
>  Debconf that says "don't do lazy loading".

I'm not terribly familiar with the way that debconf operates, but I'm
guessing that the breakage is in dpkg-preconfigure, so simply adding

  $ENV{PERL_DL_NONLAZY} = 1;

as the first line of the BEGIN block at the start of that program should
fix the problem.

--bod



Reply to: