Skip Menu |
 

This queue is for tickets about the App-perlbrew CPAN distribution.

Report information
The Basics
Id: 92942
Status: new
Priority: 0/
Queue: App-perlbrew

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.67
Fixed in: (no value)



Subject: perlbrew env <FOO> spews much errors every time bashrc is read

I've started noticing problems due to one of my brewed perls losing a dynamic link library, among other things. Every time I open a terminal, I get:

 

/home/kent/perl5/perlbrew/perls/5.10.0-pristine/bin/perl: error while loading shared libraries: libgdbm_compat.so.3: cannot open shared object file: No such file or directory
substr outside of string at /loader/0x10d0140/App/perlbrew.pm line 19.
Argument "" isn't numeric in sprintf at /loader/0x10d0140/App/perlbrew.pm line 19.
substr outside of string at /loader/0x10d0140/App/perlbrew.pm line 19.
Use of uninitialized value in sprintf at /loader/0x10d0140/App/perlbrew.pm line 19.
/home/kent/perl5/perlbrew/perls/5.8.9-pristine/bin/perl: error while loading shared libraries: libgdbm_compat.so.3: cannot open shared object file: No such file or directory
substr outside of string at /loader/0x10d0140/App/perlbrew.pm line 19.
Argument "" isn't numeric in sprintf at /loader/0x10d0140/App/perlbrew.pm line 19.
substr outside of string at /loader/0x10d0140/App/perlbrew.pm line 19.
Use of uninitialized value in sprintf at /loader/0x10d0140/App/perlbrew.pm line 19.
/home/kent/perl5/perlbrew/perls/perl-5.10.0/bin/perl: error while loading shared libraries: libgdbm_compat.so.3: cannot open shared object file: No such file or directory
substr outside of string at /loader/0x10d0140/App/perlbrew.pm line 19.
Argument "" isn't numeric in sprintf at /loader/0x10d0140/App/perlbrew.pm line 19.
substr outside of string at /loader/0x10d0140/App/perlbrew.pm line 19.
Use of uninitialized value in sprintf at /loader/0x10d0140/App/perlbrew.pm line 19.
/home/kent/perl5/perlbrew/perls/perl-5.8.9/bin/perl: error while loading shared libraries: libgdbm_compat.so.3: cannot open shared object file: No such file or directory
substr outside of string at /loader/0x10d0140/App/perlbrew.pm line 19.
Argument "" isn't numeric in sprintf at /loader/0x10d0140/App/perlbrew.pm line 19.
substr outside of string at /loader/0x10d0140/App/perlbrew.pm line 19.
Use of uninitialized value in sprintf at /loader/0x10d0140/App/perlbrew.pm line 19.
Argument "" isn't numeric in numeric comparison (<=>) at /loader/0x10d0140/App/perlbrew.pm line 19.
Argument "" isn't numeric in numeric comparison (<=>) at /loader/0x10d0140/App/perlbrew.pm line 19.
Argument "" isn't numeric in numeric comparison (<=>) at /loader/0x10d0140/App/perlbrew.pm line 19.
Argument "" isn't numeric in numeric comparison (<=>) at /loader/0x10d0140/App/perlbrew.pm line 19.
 

This confused me because I didn't have 5.10 set as  current perl at all.

 

However, it seems for some reason, `perlbrew env` and `perlbrew list` try to invoke *each and every perl you have installed*. Which is pretty batty to say the least.

Though I have nfi what that numeric comparison error is about, because I can't seem to find anything that even remotely resembles code on line 19 of anything.

Best I can get for context is:

 

substr outside of string at /loader/0x11b8d90/App/perlbrew.pm line 1.
 at /loader/0x11b8d90/App/perlbrew.pm line 1.
    App::perlbrew::format_perl_version(App::perlbrew=HASH(0x1523070), "") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::installed_perls(App::perlbrew=HASH(0x1523070)) called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::is_installed(App::perlbrew=HASH(0x1523070), "perl-5.19.8") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::resolve_installation_name(App::perlbrew=HASH(0x1523070), "perl-5.19.8") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::perlbrew_env(App::perlbrew=HASH(0x1523070), "perl-5.19.8") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::run_command_env(App::perlbrew=HASH(0x1523070), "perl-5.19.8") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::run_command(App::perlbrew=HASH(0x1523070), "env", "perl-5.19.8") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::run(App::perlbrew=HASH(0x1523070)) called at /home/kent/perl5/perlbrew/bin/perlbrew line 570


and

Argument "" isn't numeric in numeric comparison (<=>) at /loader/0x11b8d90/App/perlbrew.pm line 1.
 at /loader/0x11b8d90/App/perlbrew.pm line 1.
    App::perlbrew::installed_perls(App::perlbrew=HASH(0x1523070)) called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::is_installed(App::perlbrew=HASH(0x1523070), "perl-5.19.8") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::resolve_installation_name(App::perlbrew=HASH(0x1523070), "perl-5.19.8") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::perlbrew_env(App::perlbrew=HASH(0x1523070), "perl-5.19.8") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::run_command_env(App::perlbrew=HASH(0x1523070), "perl-5.19.8") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::run_command(App::perlbrew=HASH(0x1523070), "env", "perl-5.19.8") called at /loader/0x11b8d90/App/perlbrew.pm line 1
    App::perlbrew::run(App::perlbrew=HASH(0x1523070)) called at /home/kent/perl5/perlbrew/bin/perlbrew line 570
 

 



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.