The linker cannot find a library that is specified in the compilation command.
// Compilation command
// gcc -o program main.c -lmylib
Install the missing library or specify the correct path to it.
// Install the library
// sudo apt-get install libmylib-dev
// Or specify the path
// gcc -o program main.c -L/path/to/lib -lmylib
-L
flag to specify library search paths