ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: Gleb on August 31, 2021, 05:21:52 PM

Title: Install Archive::Zip to decode compressed ZIP information *.eip
Post by: Gleb on August 31, 2021, 05:21:52 PM
Hello.
We installed exiftool by just copying it into machine, as it described here: https://exiftool.org/install.html
QuoteIf you don't have su access, you can run ExifTool in your own account by moving "exiftool" and its "lib" directory to any convenient location, preferably somewhere in your PATH
Everything works perfect except for getting the metadata from *.eip file. Here's what we're getting:
Warning: Install Archive::Zip to decode compressed ZIP information

I've seen some discussions where they say how to solve it:
1 - https://github.com/harvard-lts/fits/issues/143
2 - https://gitlab.com/mayan-edms/mayan-edms/-/issues/918
3 - https://bugs.launchpad.net/ubuntu/+source/libimage-exiftool-perl/+bug/1009251
4 - https://bbs.archlinux.org/viewtopic.php?id=174064
Basically, the cure is to install libarchive with apt-get install libarchive-zip-perl

But as I mentioned before, we don't have su access. Is there a way to solve that by adding the binaries of libarchive into lib into a specific path, or any other solution?

1) Linux
2) 12.24
3) perl exiftool -config {_configPath} -ignoreMinorErrors -g1 -GEDefaultTags -json {filePath}        <-- I'll add config info and filePath later
4) Warning: Install Archive::Zip to decode compressed ZIP information - /mnt/asset_prep/devgleb/large-file/a5d40c02-3021-45f4-82cd-8e12c6c90755.eip
5) My file is 28 Mb. Here's the Google drive link -> https://drive.google.com/file/d/1sCOEZRfyh9KmEfxRyVkXoC0br4Ah0XB2/view?usp=sharing
Title: Re: Install Archive::Zip to decode compressed ZIP information *.eip
Post by: StarGeek on August 31, 2021, 07:41:57 PM
From what I can see, Archive::zip is written in pure Perl, no binaries.  So you should be able to just go to CPAN, download the files, and drop it in the Perl lib directory.

Here's the files that are built into the Windows executable, which is really just a minimal Perl interpreter
C:\USERS\BRYAN\APPDATA\LOCAL\TEMP\PAR-626B772D4D\CACHE-EXIFTOOL-12.24\INC\LIB\ARCHIVE
│   Zip.pm
│   
└───Zip
        Archive.pm
        DirectoryMember.pm
        FileMember.pm
        Member.pm
        NewFileMember.pm
        StringMember.pm
        ZipFileMember.pm
Title: Re: Install Archive::Zip to decode compressed ZIP information *.eip
Post by: Gleb on September 01, 2021, 10:33:38 AM
Thank you @StarGeek, that fixed the problem for me.