error adding symbols: DSO missing from command line
I've just moved to a new version of Fedora (25), new hardware, and a new version of CLion (2017.1.1). I'm getting an error on linking "/usr/lib64/libstdc++.so.6: error adding symbols: DSO missing from command line". Searches on the net indicate that it seems to be some sort of problem with gcc being used instead of g++ (passes different parameters to the linker, from what I can gather).
However, when I look in Settings|Build, Execution, Deployment|Toolchains, it has C++ Compiler: /usr/bin/c++. That's rather strange, since there isn't a file called "c++" in the directory, but both g++ and gcc are in the directory.
I'm not sure whether I should be setting it to g++ instead of c++, or where to do that if I need to change it.
Any help and pointing in the right direction would gratefully accepted.
Alan
请先登录再写评论。