Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Can't locate File/RandomAccess.pm in @INC

  1. #1

    Default Can't locate File/RandomAccess.pm in @INC

    Code:
    Can't locate File/RandomAccess.pm in @INC (you may need to install the File::RandomAccess module) (@INC contains: /usr/bin/lib /usr/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.24.1 /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.24.1 /usr/lib/perl5/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/5.24.1 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/vendor_perl/5.24.1/Image/ExifTool.pm line 21.
    BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.24.1/Image/ExifTool.pm line 21.
    Compilation failed in require at /usr/bin/exiftool line 30.
    BEGIN failed--compilation aborted at /usr/bin/exiftool line 30.
    I recently started getting this when trying to open exiftool. I tried to reinstall exiftool but it did not help. I suspect there is something wrong with perl installed in my system.
    Does anyone know how to fix that?

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,473
    Blog Entries
    14

    Default Re: Can't locate File/RandomAccess.pm in @INC

    The message is clear, you're missing the RandomAccess module, not the exiftool
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,473
    Blog Entries
    14

    Default Re: Can't locate File/RandomAccess.pm in @INC

    Code:
    zypper in perl-File-RandomAccess
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,095
    Blog Entries
    15

    Default Re: Can't locate File/RandomAccess.pm in @INC

    Hi
    Sure, the application code needs to be fixed, @INC changed (deprecated?) in perl 5.26.0

    Code:
    * Wed Aug 30 2017 mls@suse.de
    - update to perl-5.26.0
      * "." no longer in @INC
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,095
    Blog Entries
    15

    Default Re: Can't locate File/RandomAccess.pm in @INC

    Quote Originally Posted by Knurpht View Post
    Code:
    zypper in perl-File-RandomAccess
    Hi
    It's a requires on exiftool....?

    @OP, how are you updating your system, via zypper dup?

    Edit: Ahh, user has not updated to 5.26.1.....
    Last edited by malcolmlewis; 13-Oct-2017 at 08:08.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6

    Default Re: Can't locate File/RandomAccess.pm in @INC

    I use both system tray update widget and zypper dup.

    I actually just fixed that via running zypper up and zypper in perl. I got a warning that a package is broken and need to change vendor from packman to opensuse. I accepted that, the package got downgraded but exiftool works now.

  7. #7

    Default Re: Can't locate File/RandomAccess.pm in @INC

    Code:
    Problem: perl-DateTime-Format-ISO8601-0.08-1.13.noarch requires perl(:MODULE_COMPAT_5.24.1), but this requirement cannot be provided
      deleted providers: perl-5.24.1-1.7.x86_64
     Solution 1: Following actions will be done:
      downgrade of perl-DateTime-Format-ISO8601-0.08-1.13.noarch to perl-DateTime-Format-ISO8601-0.08-1.1.noarch
      install perl-DateTime-Format-ISO8601-0.08-1.1.noarch (with vendor change)
        http://packman.links2linux.de  -->  openSUSE

  8. #8

    Default Re: Can't locate File/RandomAccess.pm in @INC

    Code:
    The following NEW package is going to be installed:
      apparmor-utils-lang
    
    The following 108 packages are going to be upgraded:
      apparmor-utils libsnmp30 pciutils-ids perl perl-apparmor perl-Archive-Zip perl-base perl-B-Hooks-EndOfScope perl-Bootloader perl-Class-Data-Inheritable perl-Class-Factory-Util
      perl-Class-Inspector perl-Class-Method-Modifiers perl-Class-Singleton perl-Config-Crontab perl-CPAN-Changes perl-Crypt-SmbHash perl-DateTime perl-DateTime-Format-Builder
      perl-DateTime-Format-Strptime perl-DateTime-Locale perl-DateTime-TimeZone perl-DBD-SQLite perl-DBI perl-Devel-Caller perl-Devel-LexAlias perl-Devel-StackTrace perl-Devel-Symdump
      perl-Digest-HMAC perl-Digest-MD4 perl-Digest-SHA1 perl-Dist-CheckConflicts perl-Encode-Locale perl-Eval-Closure perl-Exception-Class perl-File-Find-Rule perl-File-Listing perl-File-ShareDir
      perl-gettext perl-HTML-Parser perl-HTML-Tagset perl-HTTP-Cookies perl-HTTP-Daemon perl-HTTP-Date perl-HTTP-Message perl-HTTP-Negotiate perl-Image-ExifTool perl-IO-HTML perl-IO-Socket-SSL
      perl-libwww-perl perl-LWP-MediaTypes perl-LWP-Protocol-https perl-Module-Implementation perl-Module-Runtime perl-MRO-Compat perl-namespace-autoclean perl-namespace-clean perl-Net-DBus
      perl-Net-DNS perl-Net-HTTP perl-Net-LibIDN perl-Net-SSLeay perl-Number-Compare perl-Package-DeprecationManager perl-Package-Stash perl-Package-Stash-XS perl-PadWalker perl-Params-Util
      perl-Params-Validate perl-Params-ValidationCompiler perl-Parse-RecDescent perl-Perl-Tidy perl-Pod-Coverage perl-Role-Tiny perl-RPC-XML perl-Scalar-List-Utils perl-Specio
      perl-Sub-Exporter-Progressive perl-Sub-Identify perl-Sub-Install perl-Sub-Name perl-Sub-Quote perl-Term-ReadKey perl-TermReadLine-Gnu perl-Test-Fatal perl-Test-Pod perl-Test-Pod-Coverage
      perl-Text-Glob perl-TimeDate perl-Try-Tiny perl-URI perl-Variable-Magic perl-WWW-RobotRules perl-X11-Protocol perl-X500-DN perl-XML-LibXML perl-XML-NamespaceSupport perl-XML-Parser
      perl-XML-SAX perl-XML-SAX-Base perl-XML-SAX-Expat perl-XML-Simple perl-XML-Twig perl-XML-XPath vim yast2-apparmor yast2-core yast2-perl-bindings
    
    The following package is going to be downgraded:
      perl-DateTime-Format-ISO8601
    
    The following package is going to change vendor:
      perl-DateTime-Format-ISO8601  http://packman.links2linux.de -> openSUSE
    
    108 packages to upgrade, 1 to downgrade, 1 new, 1 to change vendor.
    Overall download size: 8.1 MiB. Already cached: 17.9 MiB. After the operation, additional 1.3 MiB will be used.
    After finishing that everything worked.

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,095
    Blog Entries
    15

    Default Re: Can't locate File/RandomAccess.pm in @INC

    Quote Originally Posted by WildCowboy View Post
    I use both system tray update widget and zypper dup.

    I actually just fixed that via running zypper up and zypper in perl. I got a warning that a package is broken and need to change vendor from packman to opensuse. I accepted that, the package got downgraded but exiftool works now.
    Hi
    Using Tumbleweed. the only way to ensure you won't run into issues like this is always zypper dup not up from the command line, no GUi tools...

    If you want to see what is happening is add some verbosity with -vvv (the more v's the more verbose).
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10

    Default Re: Can't locate File/RandomAccess.pm in @INC

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Using Tumbleweed. the only way to ensure you won't run into issues like this is always zypper dup not up from the command line, no GUi tools...

    If you want to see what is happening is add some verbosity with -vvv (the more v's the more verbose).
    Can I remove the widget then? I still can't get used to openSUSE's patterns. patterns-kde-kde_plasma is just killing me. I am missing patterns-openSUSE-plasma5_basis

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •