0

I installed the extension ImageOptimizer. I noticed that it is not working, progress is still at 0% so I activated error logging in the extension and get this:

jpegtran is not executable.

I executed which jpegtran but there is no output.

The lib folder has all necessary permissions:

mycompany@s64:/var/customers/webs/mycompany/test/lib/Apptrian/ImageOptimizer$ ls -lah
insgesamt 24K
drwxr-xr-x 2 mycompany mycompany 4,0K Feb  4 18:23 .
drwxr-xr-x 3 mycompany mycompany 4,0K Feb  4 18:23 ..
lrwxrwxrwx 1 mycompany mycompany   75 Feb  4 18:23 elf32 -> ../../../.modman/apptrian-image-optimizer/lib/Apptrian/ImageOptimizer/elf32
lrwxrwxrwx 1 mycompany mycompany   75 Feb  4 18:23 elf64 -> ../../../.modman/apptrian-image-optimizer/lib/Apptrian/ImageOptimizer/elf64
lrwxrwxrwx 1 mycompany mycompany   75 Feb  4 18:23 win32 -> ../../../.modman/apptrian-image-optimizer/lib/Apptrian/ImageOptimizer/win32
lrwxrwxrwx 1 mycompany mycompany   75 Feb  4 18:23 win64 -> ../../../.modman/apptrian-image-optimizer/lib/Apptrian/ImageOptimizer/win64

So I installed the binary and it still gives me the same error that it does not have permission jpegtran is not executable., even though this are the set permission -rwxr-xr-x 1 root root 31K Okt 20 2016 jpegtran

1

Try installing jpegtran on your system with:

sudo apt-get install libjpeg-progs

1

install jpegtran on your system

If you are on Debian/Ubuntu:

sudo apt-get install libjpeg-progs

If you are on Fedora/Centos/RedHat:

sudo yum install libjpeg-turbo-utils
  • I installed it and it still gives me the same error that it does not have permission jpegtran is not executable. even though this are the set permission -rwxr-xr-x 1 root root 31K Okt 20 2016 jpegtran – Black Feb 6 at 15:37
0

I solved it by asking my hoster to install jpegtran, gifsicle and optipng.

I also had to set the absolute path to the binary in the extension settings.

enter image description here

  • 1
    from my experience this extension has very low efficiency. remove it all together. – MagenX Feb 6 at 17:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.