SCIENTIFIC-LINUX-USERS Archives

August 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Keith Smith <[log in to unmask]>
Reply To:
Keith Smith <[log in to unmask]>
Date:
Mon, 10 Aug 2015 18:34:10 -0400
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1093 bytes) , text/html (3053 bytes)
I have installed Scientific Linux.

I would like to use clang. I see that clang is not part of the yum
repository.

I downloaded the latest Fedora zip from clang.llvm.org and installed clang
in /usr/local

When I go to run clang I get an error that GLIBCXX 3.4.20 is not available.

I have found in libstdc++
​GLIBCXX ​
3.4 to 3.4.19, but not GLIBCXX 3.4.20
​.​

My version of gcc installed is 4.8.3 9.3l7
​.

I have looked for solutions on the web and many are partial or requiring
complete source build of clang.

I might be able to use a previous version or so of clang to that version
that wants to use GLIBCXX 3.4.19 or less, but since clang was not installed
via yum, I'm not certain how to download grade it properly.

Are there any recommendations from this list on how to
(uninstall/re-install) install clang on Scientific Linux?

I understand that Scientific Linux is a variant of Fedora. Many of the
tasks recommended for Fedora apply to Scientific Linux, but I'm still lost
as my administration skills are being tasked.

Thanks for the help and education.

Keith Smith

​


ATOM RSS1 RSS2