Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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

Closed by  Allan McRae (Allan)
Friday, 09 May 2014, 08:20 GMT
Reason for closing:  Not a bug
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.

Loading...