Hey all,
I'm trying to configure the resourcespace assets management system on a Synology network drive (DS413) to use exiftool as recommended in installation instructions. (http://wiki.resourcespace.org/index.php/Metadata_Read/Write_Mapping)
(Synology uses DSM 4.2 a linux-based proprietary os)
I'm not a pro when it comes to CLI and custom installations, but i've managed to use ipkg to install other addons to resourcespace (imagemagick, ghostscripts, ffmpeg, etc.). When i download the exiftool source package, unpack, and try to run
perl Makefile.PL
i get the following error:
perl: relocation error: /opt/lib/libnsl.so.1: symbol __deregister_frame_info, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
now i understand this might be a perl problem having nothing to do with exiftool, but i thought i'd give it a try...
thanks for any help
when i try to point resourcespace to the exiftool directory i get:
Unexpected output when executing '/opt/bin/exiftool/exiftool' -ver command. Output was ''.
:-\
You don't need to make exiftool to run it, as you seem to have tried. Was the exiftool "lib" directory also in /opt/bin/exiftool/? If so, then it should work. Try typing "/opt/bin/exiftool/exiftool" from the command line and you might get more information.
- Phil
hey, thanks for the reply,
Yes i did make sure the "lib"directory is also present...
when i type /opt/bin/exiftool/exiftool i get
-ash: /opt/bin/exiftool/exiftool: not found
if i cd to /opt/bin/exiftool/ and type exiftool there, i get
-ash: exiftool: Permission denied
even though permissions seem fine...
-rwxrwxrwx 1 admin users 234321 Apr 2 11:23 exiftool
I even tried renaming the exiftool file to exiftool.pl as suggested in a forum post i came upon, still same answer
-ash: exiftool.pl: not found
:(
I think we're missing something obvious here.
Quote from: pewang on April 15, 2013, 05:39:39 PM
when i type /opt/bin/exiftool/exiftool i get
-ash: /opt/bin/exiftool/exiftool: not found
What is the output of "ls -l /opt/bin/exiftool/exiftool" ?
Also, what happens if you type "perl /opt/bin/exiftool/exiftool" ?
Quoteif i cd to /opt/bin/exiftool/ and type exiftool there, i get
-ash: exiftool: Permission denied
On my system, "." is not part of the path. So if I "cd" to the exiftool directory, I need to type "./exiftool".
Quoteeven though permissions seem fine...
-rwxrwxrwx 1 admin users 234321 Apr 2 11:23 exiftool
What directory were you in here, and what was your "ls" command?
- Phil
Thanks again for taking the time,
QuoteWhat is the output of "ls -l /opt/bin/exiftool/exiftool" ?
-rwxrwxrwx 1 admin users 234321 Apr 2 11:23 /opt/bin/exiftool/exiftoolQuoteAlso, what happens if you type "perl /opt/bin/exiftool/exiftool" ?
perl: relocation error: /opt/lib/libnsl.so.1: symbol __deregister_frame_info, version GLIBC_2.0 not defined in file libc.so.6 with link time referenceQuoteOn my system, "." is not part of the path. So if I "cd" to the exiftool directory, I need to type "./exiftool".
If i cd to /opt/bin/exiftool then type ./exiftool i get
-ash: ./exiftool: not foundi'm using puTTy ssh, logged in as root.
QuoteQuote
even though permissions seem fine...
-rwxrwxrwx 1 admin users 234321 Apr 2 11:23 exiftool
What directory were you in here, and what was your "ls" command?
i was in /opt/bin/exifool
the ls command returns
Changes Makefile.PL config_files html t
MANIFEST README exiftool lib
META.yml arg_files fmt_files perl-Image-ExifTool.spec
OK, thanks.
It looks like you are doing everything correctly on the ExifTool side. The problem is with your Perl installation. Unfortunately I can't help until you can get the "perl" command to work.
If you can do this, then the only remaining problem is the Perl directory. If it isn't in /usr/bin/perl, then you should probably change the first line of the exiftool script:
#!/usr/bin/perl -w
to point to the correct location.
- Phil
thanks so much,
i'll work on my perl installation,
appreciate the help