[Solved] error adding symbols: DSO missing from command line

Reason: There is a static library libxxx.a in the project (xxx is the name of your library) and no corresponding function implementation is found in this static library. However, the function implementation is found in libxxx.so.**, which is found in /usr/lib64 or other paths.

Solution: Remove the static library.

Read More: