This article is a mirror article of machine translation, please click here to jump to the original article.

View: 7625|Reply: 4

CentOS installs the zlib-1.2.9 package

[Copy link]
Posted on 1/13/2022 3:47:13 PM | | | |
When using the npm install command to restore the modules required for downloading the front-end, the error is as follows:



Command failed: /data/jenkins/workspace/web-demo-mobile/node_modules/mozjpeg/vendor/cjpeg -version
/data/jenkins/workspace/web-demo-mobile/node_modules/mozjpeg/vendor/cjpeg: /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /data/jenkins/workspace/web-demo-mobile/node_modules/mozjpeg/vendor/cjpeg)
The error message indicates that it is in /lib64/libz.so.1Missing ZLIB_1.2.9 or later, the system is installed: version 1.2.7, and the solution is to install zlib-1.2.9.



zlib all versions:http://www.zlib.net/fossils/


Download zlib 1.2.9 to compile and install with the following commands:

Copy libz.so.1.2.9 to the /lib64/ folder with the following command:

To create a soft link, the command is as follows:



(End)




Previous:The Spring jackson-dataformat-xml settings interface returns JSON format by default
Next:The difference and connection between Ubuntu, CentOS, and RedHat
Posted on 2/20/2023 7:30:39 PM |
Thank you to the landlord, very practical
Posted on 2/25/2023 11:22:11 PM |
Thank you to the landlord, very practical
Posted on 3/14/2023 12:52:52 PM |
Let me take a look. Purple sweet potato pudding.
Posted on 4/24/2023 2:00:28 PM |
Thank you for sharing
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com