Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention Perl dependency for Linux #51

Closed
GeoffreyBooth opened this issue Jul 9, 2019 · 0 comments
Closed

Mention Perl dependency for Linux #51

GeoffreyBooth opened this issue Jul 9, 2019 · 0 comments

Comments

@GeoffreyBooth
Copy link

I was using this in a Docker Alpine image and got this error:

throw er; // Unhandled 'error' event
^
Error: spawn /opt/bundle/bundle/programs/server/npm/node_modules/exiftool-vendored.pl/bin/exiftool ENOENT

The error was exiftool failing to start:

exiftool: /usr/bin/perl: bad interpreter: No such file or directory

Because Perl was missing. Alpine Linux aims to be as small as possible, and as such it doesn’t come with Perl installed. One needs to install it (apk add perl is all it takes).

This isn’t really particular to Alpine though, as anyone might happen to be in an environment that lacks Perl. You might want to mention in the README and/or the wiki that Perl is a dependency that won’t be installed by this package, that the user is responsible for ensuring is available in the environment. I see that the README mentions that Perl will be installed for Windows environments, but presumably that doesn’t happen for Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant