• Resolved heutger

    (@heutger)


    To followup, I installed the webp-tools right now (using yum install webp-tools) which include cwebp and which also install all missing libraries (meanwhile libjpeg and libpng has been installed with first testing of CW Image Optimizer with littleutils, libtiff and libgif and their dependencies where missing also.

    However, yum quit with success and placed cwebp at /usr/bin. I then copied it to the eww folder with the other binaries using -custom to prevent overwriting. I also changed owner to apache to take sure, everything will work well.

    However, I still get webp missing.

    https://www.ads-software.com/plugins/ewww-image-optimizer/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    And you’re on a CentOS 7 VPS with DO, right?

    Plugin Author nosilver4u

    (@nosilver4u)

    Looks like CentOS 7 might be shipping with newer versions of libjpeg and libpng than what I compile with on CentOS 5. I’ll see what I can figure out.

    Plugin Author nosilver4u

    (@nosilver4u)

    well, that, and EWWW doesn’t support anything older than webp .4+, whereas most distros are going to ship with old versions. You can compile it using these commands though:

    yum install libpng-devel libjpeg-turbo-devel gcc gcc-c++ make openssl-devel
    wget https://downloads.webmproject.org/releases/webp/libwebp-0.4.2.tar.gz
    tar xvzf libwebp-0.4.2.tar.gz
    cd libwebp-0.4.2
    ./configure
    make && make install

    After you run ./configure, make sure it says both jpeg and png are supported before you run the last command. Of course, those all need to be run as root, or prefixed with sudo.

    Thread Starter heutger

    (@heutger)

    I’m on a CentOS 7 VM, dunno what DO means.

    Many thanks for your solution, JFYI I found an easier (updateable) similar way after unsuccessful checking (somehow all) third party repositories to let yum keep webp up to date:

    yum install libtiff giflib
    wget https://downloads.webmproject.org/releases/webp/libwebp-0.4.2-linux-x86-64.tar.gz
    tar xvfz libwebp-0.4.2-linux-x86-64.tar.gz

    Maybe version requirement (webp >=.4.0.0) should be stated in the warning message.

    Plugin Author nosilver4u

    (@nosilver4u)

    DO = Digital Ocean, I thought that’s what you had said on the other thread, but I guess that was someone else. Sounds like the stock binaries from google work just fine for you, I should have thought of that first. Good luck!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘webp missing’ is closed to new replies.