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

ZLIB not found #423

Open
antonpug opened this issue Mar 1, 2022 · 0 comments
Open

ZLIB not found #423

antonpug opened this issue Mar 1, 2022 · 0 comments

Comments

@antonpug
Copy link

antonpug commented Mar 1, 2022

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.

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

No branches or pull requests

1 participant