Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8396851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:38:28+00:00 2026-06-09T20:38:28+00:00

I updated all of the perl modules on a Debian development system (as a

  • 0

I updated all of the perl modules on a Debian development system (as a test) to their latest versions. I wanted to see if it was safe to upgrade the modules on the live servers. It appeared to work, except that I started getting an odd error from Imager (relating to API version numbers, however that’s not really important right now).

I tried reinstalling Imager and any related libs however nothing appeared to fix the problem.

Looking further, I’ve found that the development system in question appears to have multiple perl directories including;

/usr/lib/perl (which contains 5.14.2 and subdirs)
/usr/lib/perl5 (which contains a range of perl modules)
/usr/local/lib/perl (which contains another 5.14.2 and a set of modules)
and even /root/perl5 (which contains a small list of modules including i486-linux-gnu-thread-multi-64int)

it appears (although I’m not entirely sure I’m reading this correctly), that modules on the system have been installed using every method possible, apt-get, aptitude, cpan, installed from source, and cpanminus and that different modules are ending up in different perl directories (I guess installations), mainly /usr/local/lib/perl or /usr/lib/perl5. I don’t know how at least 2 different perl installations got on there.

I think that /usr/lib/perl is the one I want to keep,
so, I tried renaming /usr/local/lib/perl to perl.save then
linked /usr/local/lib/perl /usr/lib/perl.
Then I reinstalled any missing packages.
Most packages seem to install however for a number I’m getting this ominous message;


Have /usr/local/lib/perl/5.14.2

Want /usr/lib/perl/5.14

Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.

Perl thinks: [5.14.2]

Config says: [i486-linux-gnu-thread-multi-64int]

This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.


After which the install of that particular module fails. Probably for good reasons.

The reason why I want to fix this is that our dev systems are all virtual, and all the other dev systems are clones of this (broken) one – so it’s a problem that I need to solve hopefully without rebuilding the entire system from scratch (although his is an option).

I did try cloning the system and then purging perl, however that left me with an extremely broken system that couldn’t do anything.

Any ideas for a useful approach to fixing this?
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T20:38:29+00:00Added an answer on June 9, 2026 at 8:38 pm

    as per my comment above, cpanm was installed as root and configured itself to put modules in /root/perl5. this made me realise that i’ve been caught by a schoolboy error – the env that root has when I sudo -s to root is different from the env if I either log in as root or su – root. And so things have been installing in a variety of palaces some of which were hidden to the other env (not included in @INC for example). Also the system isn’t finding all the of the libs because of the problem that ikegami pointed out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

UPDATED: Is there a thread-safe, lock-free and available on all Linux distros increment function
Many standard modules are all using straight up perl -- problem is these guys
If I want to keep an xml file updated with all the images that
UPDATED: Added one more question (Question #4). Hi all, I'm building myself a custom
I am trying to get all users that are updated maximum 90 seconds ago:
I've just updated Chrome from 17 to 18.0.1025.142 and got all the ExtJS charts
I have a text file which needs to be constantly updated (regular intervals). All
In Perl, is there a way to force all fatal errors to display a
I primarily use Textmate for perl hacking on OSX Snow Leopard. It was all
I'm attempting to pass perl variables into a system command and then capture the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.