On Mon, 02 Jun 2008, Brendan O'Dea wrote:
> On Sat, May 31, 2008 at 4:41 AM, Raphael Hertzog <[EMAIL PROTECTED]> wrote:
> > That's wrong. The "use Locale::Gettext" is protected by eval {} and
> > update-alternatives works well when the eval fails... as it subsitutes
> > gettext() with a simple sub return { [EMAIL PROTECTED] }.
> > That's why the initial request was to disable lazy symbol loading inside
> > eval.
>
> I was aware of the optional loading of Locale::gettext, but don't
> believe that changing the dlopen behaviour upstream is the right
> solution.
>
> This is a Debian-specific problem, and moreover one which occurs in a
> very narrow set of circumstances: programs/modules which
> opportunistically load a module (hence circumventing the dependency
> model) across upgrades to perl which change the binary ABI (which are
> rare).
>
> Modifying update-alternatives to set $ENV{PERL_DL_NONLAZY} would
> appear to be the most appropriate solution here.
I tried this but it doesn't work. The variable needs to be set before perl
is executed apparently. So you'd need some trick so that the script exec
itself a second time but with the environment variable set.
Cheers,
--
Raphaël Hertzog
Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]