When compiling codes, sometimes we get the error like
ld cannot find -lxxxxx
This means that the C linker can’t find libxxxxx.so
The reason could be:
1. The actual library file name is libxxxxx.so.N instead of libxxxxx.so
In this case, create a symlink from libxxxxx.so to libxxxxx.so.N
2. The actual library file is located in some other location.
In this case, please provide the lib location in your compiling script.