ExifTool Forum

ExifTool => Install Problems => Topic started by: Nexius2 on December 29, 2016, 02:00:21 PM

Title: lddlflags error
Post by: Nexius2 on December 29, 2016, 02:00:21 PM
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
Title: Re: lddlflags error
Post by: Phil Harvey on December 29, 2016, 09:59:41 PM
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
Title: Re: lddlflags error
Post by: Nexius2 on December 30, 2016, 03:56:09 AM
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 :-)
Title: Re: lddlflags error
Post by: Phil Harvey on December 30, 2016, 07:27:53 AM
I could maybe help if I knew what system you were running.

- Phil
Title: Re: lddlflags error
Post by: Nexius2 on December 30, 2016, 07:54:37 AM
synology DSM 6 ...some sort of debian :-)
Title: Re: lddlflags error
Post by: Phil Harvey on December 30, 2016, 08:04:50 AM
Here's someone else with the same problem (https://forum.synology.com/enu/viewtopic.php?t=84737) (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