跳到主要内容

Build actions issues

Learn how to solve errors in build actions.

1. Error while loading shared libraries

Error:

error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Solution:

Install the following packages in Environment tab:

apt-get update && apt-get install -y build-essential libpng-dev autoconf automake g++ libtool make nasm

Once done, run the pipeline with the Clear Cache option selected.

2. Host key verification failed

Error:

Host key verification failed.

Solution:

Run the following line before the command:

ssh-keyscan <host> >> /root/.ssh/known_hosts