12.96 [Warning: Library version is 12.92]

Started by Alan Clifford, September 08, 2024, 06:48:32 PM

Previous topic - Next topic

Alan Clifford

I was looking at the Perl scripting error thread   https://exiftool.org/forum/index.php?topic=16447.0 but decided to update exiftool first.

I installed the .tar version as I normally do but now get

annurca:~ alan$ exiftool -ver
12.96 [Warning: Library version is 12.92]

I did install 12.92 package version to test the installation, see https://exiftool.org/forum/index.php?topic=16267.0
so maybe there is a bit of a conflict caused by the two installation methods?


Alan Clifford

Hmmm, could this be related?

annurca:temp alan$ exiftool -imagesize TheR\&AOnlineCertificateLevel1AlanClifford.jpg

Undefined subroutine Image::ExifTool::IsPC called at /usr/local/bin/lib/Image/ExifTool.pm line 5316

StarGeek

I can't help with the problem with the install, but you do have an older version still on there. That error indicates that the exiftool files that are found are versions 12.88-12.93. Newer version have the Image::ExifTool::IsPC on line 5365. Github issue where I dug into the history.

Type this Perl command
perl -e 'print "$_\n" for @INC'

This will print out all the directories, in order, that Perl goes through looking for the exiftool files. In one of the earlier directories, you'll find the version 12.92 files. They'll be in the /libs/Files and /libs/image/ subdirectories (or something like that).
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Alan Clifford

Quote from: StarGeek on September 09, 2024, 08:30:09 PMI can't help with the problem with the install, but you do have an older version still on there. That error indicates that the exiftool files that are found are versions 12.88-12.93. Newer version have the Image::ExifTool::IsPC on line 5365. Github issue where I dug into the history.

Type this Perl command
perl -e 'print "$_\n" for @INC'

This will print out all the directories, in order, that Perl goes through looking for the exiftool files. In one of the earlier directories, you'll find the version 12.92 files. They'll be in the /libs/Files and /libs/image/ subdirectories (or something like that).


annurca:temp alan$ perl -e 'print "$_\n" for @INC'
/Library/Perl/5.34/darwin-thread-multi-2level
/Library/Perl/5.34
/Network/Library/Perl/5.34/darwin-thread-multi-2level
/Network/Library/Perl/5.34
/Library/Perl/Updates/5.34.1/darwin-thread-multi-2level
/Library/Perl/Updates/5.34.1
/System/Library/Perl/5.34/darwin-thread-multi-2level
/System/Library/Perl/5.34
/System/Library/Perl/Extras/5.34/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.34



Phil Harvey

Yes.  The two installs are conflicting.  You should uninstall the old version.  It will be somewhere in your @INC directory list.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).