Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

ZLIB not found #423

@antonpug

Description

@antonpug

When trying to run a project build with any version above 7, seeing this error:

Command: node lib/install.js error 01-Mar-2022 17:22:16 Arguments: error 01-Mar-2022 17:22:16 Directory: /home/bamboo/bamboo-agent-home/xml-data/build-dir/MY_APP/node_modules/mozjpeg error 01-Mar-2022 17:22:16 Output: error 01-Mar-2022 17:22:16 Command failed: /home/bamboo/bamboo-agent-home/xml-data/build-dir/MY_APP/node_modules/mozjpeg/vendor/cjpeg -version error 01-Mar-2022 17:22:16 /home/bamboo/bamboo-agent-home/xml-data/build-dir/MY_APP/node_modules/mozjpeg/vendor/cjpeg: /lib64/libz.so.1: version ZLIB_1.2.9' not found (required by /home/bamboo/bamboo-agent-home/xml-data/build-dir/MY_APP/node_modules/mozjpeg/vendor/cjpeg)
error 01-Mar-2022 17:22:16
error 01-Mar-2022 17:22:16
error 01-Mar-2022 17:22:16 mozjpeg pre-build test failed
error 01-Mar-2022 17:22:16 compiling from source
error 01-Mar-2022 17:22:16 Error: Command failed: /bin/sh -c ./configure --enable-static --disable-shared --disable-dependency-tracking --with-jpeg8 --prefix="/home/bamboo/bamboo-agent-home/xml-data/build-dir/MY_APP/node_modules/mozjpeg/vendor" --bindir="/home/bamboo/bamboo-agent-home/xml-data/build-dir/MY_APP/node_modules/mozjpeg/vendor" --libdir="/home/bamboo/bamboo-agent-home/xml-data/build-dir/MY_APP/node_modules/mozjpeg/vendor"`

After some triaging, I was able to find a workaround:
"resolutions": { "imagemin-mozjpeg": "8.0.0" },

Would be nice if this can be addressed in a new version so that the resolution can be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions