lddlflags error

Started by Nexius2, December 29, 2016, 02:00:21 PM

Previous topic - Next topic

Nexius2

Hello,
during install I have an error returning that I would like to solve. it looks like my system doesn't have a library that Exiftool installer needs.
why does Exiftool need it? maybe I could install it before to make it happy?
did someone ever had something like this?

admin@DS_DEV:/var/packages/ExifTool/target$ perl Makefile.PL verbose
  ABSTRACT_FROM => q[lib/Image/ExifTool.pod]
  AUTHOR => [q[Phil Harvey (phil@owl.phy.queensu.ca)]]
  BUILD_REQUIRES => {  }
  CONFIGURE_REQUIRES => {  }
  EXE_FILES => [q[exiftool]]
  LICENSE => q[perl]
  META_MERGE => { recommends=>{ POSIX::strptime=>q[0], Digest::MD5=>q[0], Archive::Zip=>q[0], Compress::Zlib=>q[0], Time::HiRes=>q[0], IO::Compress::RawDeflate=>q[0], Digest::SHA=>q[0], IO::Uncompress::RawInflate=>q[0] } }
  MIN_PERL_VERSION => q[5.004]
  NAME => q[Image::ExifTool]
  PREREQ_PM => {  }
  TEST_REQUIRES => {  }
  VERSION_FROM => q[lib/Image/ExifTool.pm]
  clean => { FILES=>q[t/*.tmp] }
CONFIG key 'lddlflags' does not exist in Config.pm
CONFIG key 'ldflags' does not exist in Config.pm
Using PERL=/bin/perl
Writing Makefile for Image::ExifTool
Writing MYMETA.yml and MYMETA.json


thanks for your help

Phil Harvey

So the "make" fails?

If so, I don't know how to fix this, but you can avoid the whole install situation by just copying "exiftool" and the "lib" directory to anywhere in your path.  ExifTool is pure Perl, so it doesn't need to be compiled, and will run from anywhere.

- 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 ($).

Nexius2

Hello,
Yes make is not recognized on the system, I was wondering how to add libraries just to avoid this error. I thought that, just like exiftool lib,i could add other libs to avoid the error.
and yes, I already have it working ;-) it's more of a search to do better :-)

Phil Harvey

I could maybe help if I knew what system you were running.

- 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 ($).

Nexius2

synology DSM 6 ...some sort of debian :-)

Phil Harvey

Here's someone else with the same problem (installing another Perl package -- not ExifTool).

One person responded that this was solved by "touch /usr/lib/perl5/core_perl/CORE/config.h" -- after this the "make" worked.

- 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 ($).