Author Topic: lddlflags error  (Read 115 times)

Nexius2

  • Jr. Member
  • **
  • Posts: 10
lddlflags error
« 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?

Code: [Select]
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

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 10744
    • ExifTool Home Page
Re: lddlflags error
« Reply #1 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
...where DIR is the name of a directory containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Nexius2

  • Jr. Member
  • **
  • Posts: 10
Re: lddlflags error
« Reply #2 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 :-)

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 10744
    • ExifTool Home Page
Re: lddlflags error
« Reply #3 on: December 30, 2016, 07:27:53 AM »
I could maybe help if I knew what system you were running.

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

Nexius2

  • Jr. Member
  • **
  • Posts: 10
Re: lddlflags error
« Reply #4 on: December 30, 2016, 07:54:37 AM »
synology DSM 6 ...some sort of debian :-)

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 10744
    • ExifTool Home Page
Re: lddlflags error
« Reply #5 on: December 30, 2016, 08:04:50 AM »
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 containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).