Build actions issues

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:

bash
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:

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

3. Sysbox not installed

Docker Sysbox is used by the Docker CLI action. If you are running Buddy self-hosted, make sure to install it on every worker in your instance, including the primary (default) worker.

Last modified on Oct 16, 2024