So the problem started as I lately updated my Ubuntu Vivid (15.04). Now
clang-3.5 depends on
libstdc++-4.9 (instead of previous version of
4.8) and my compiled programs fail to run on Trusty (14.04):
./my_app: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./my_app)
Both on the development machine and target machine
4.8.4 is installed. But the new clang version adds a version dependency required from
GLIBCXX_3.4.20 which only exists on the development and not the target machine.
Any ideas how to solve this problem?