FS#40281 - [clang] normal use gives error about libstdc++.so.6 version
Attached to Project:
Arch Linux
Opened by Max Sherman (johnislarry) - Friday, 09 May 2014, 07:33 GMT
Last edited by Allan McRae (Allan) - Friday, 09 May 2014, 08:20 GMT
Opened by Max Sherman (johnislarry) - Friday, 09 May 2014, 07:33 GMT
Last edited by Allan McRae (Allan) - Friday, 09 May 2014, 08:20 GMT
|
Details
Description: Running clang gives this error:
clang: /usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by clang) clang: /usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/bin/../lib/libLLVM-3.4.so) Additional info: * package version: 3.4-2 Steps to reproduce: * install clang from extra * type 'clang' at the shell |
This task depends upon
Comment by Jan de Groot (JGC) -
Friday, 09 May 2014, 07:35 GMT
Make sure gcc-libs is up to date on your system.
Comment by
Max Sherman (johnislarry) - Friday,
09 May 2014, 08:05 GMT
Ok, the error happened because I'm using gcc-libs-multilib instead
of gcc-libs. Installing gcc-libs makes clang work. Maybe there
should be a note in the wiki or some dependency check in the
package to reflect this though?
Comment by
Max Sherman (johnislarry) - Friday,
09 May 2014, 08:07 GMT
I guess I was also on gcc-libs-multilib version 4.8.2-8 and
upgraded to gcc-libs version 4.9.0-2 so this might have also been
the problem, but if so then there should probably still be a
dependency check somewhere
Comment by Allan McRae (Allan) -
Friday, 09 May 2014, 08:20 GMT
No - you did a partial update which is not supported.