-
Notifications
You must be signed in to change notification settings - Fork 3
3. Common Errors
Joshua S Brown edited this page Dec 27, 2018
·
3 revisions
The error:
error adding symbols: DSO missing from command line
Occurs when using gcc with the library, this is actually a linker error. To get rid of the error make sure you are using the -lstdc++
flag. See the compilation page.
The error:
error while loading shared libraries: libkmccoarsegrain.so: cannot open shared object file: No such file or directory
This error appears after successful compilation. It is a result of the executable being unable to locate the library file. It can be solved by specifying with LD_LIBRARY_PATH
environment variable the location of the library file. By default the library is installed in usr/local/lib/kmccoarsegrain
. If you are using bash this can be fixed with:
export LD_LIBRARY_PATH=/usr/local/lib/kmccoarsegrain