greenwade has asked for the wisdom of the Perl Monks concerning the following question:

CentOS 6.7 system, perl script I used for years doesn't work on new system, gives: Can't locate Image/EXIF.pm in @INC (@INC contains: /usr/local/lib64/perl5 ...), offending line 2 is:

#!/usr/bin/perl -w use Image::EXIF;

AFAIK, all the EXIF packages are installed. I'm guessing the right stuff is on the system but not in the correct, or at least expected, locations.

Replies are listed 'Best First'.
Re: Can't find Image/EXIF.pm
by toolic (Bishop) on Oct 29, 2015 at 18:09 UTC
    You need to locate Image/EXIF.pm and point to the directory somehow, such as:
      Hey folks, I really have tried to work through this. All the package management systems seem to think all the modules are installed. I have verified that Image/EXOI.pm is on the system. What is it that needs to point to where it is located?

        Hey folks, I really have tried to work through this. All the package management systems seem to think all the modules are installed. I have verified that Image/EXOI.pm is on the system. What is it that needs to point to where it is located?

        How many perls do you have installed?