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

exiftool? #75

Open
jrochkind opened this issue Dec 3, 2020 · 0 comments
Open

exiftool? #75

jrochkind opened this issue Dec 3, 2020 · 0 comments

Comments

@jrochkind
Copy link

jrochkind commented Dec 3, 2020

I have found that some packages don't work, and I'm curious the general theory behind it, what's up with the heroku environment.

For instance, trying to list exiftool in the Aptfile, after install heroku run bash, and:

Can't locate Image/ExifTool.pm in @INC (you may need to install the Image::ExifTool module) (@INC contains: /app/.apt/usr/bin/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /app/.apt/usr/bin/exiftool line 30.
BEGIN failed--compilation aborted at /app/.apt/usr/bin/exiftool line 30.

I hadn't even realized exiftool was written in Perl! But Perl is of course on the machine, as evidenced by the error message from Perl -- and confirmed by https://devcenter.heroku.com/articles/stack-packages

But I guess wherever apt-get installs exiftool Perl package is not a place the installed Perl can find it?

Even though @INC contains: /app/.apt/usr/bin/lib, and at /app/.apt/usr/bin/exiftool line 30, we are using the apt-installed exiftool command in the first place... weird.

I'm not sure what's going on with this interaction, if it indicates a flaw in the apt buildpack, or if there's anything that can be done as a workaround, or what!

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