Johan S. H. Rosenkilde wrote: >>> ar: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required >>> by /usr/lib/libLLVM-3.8.so) >> >> >> Are you using llvm? As far as I know that doesnt' work, though I haven't >> tried it myself. > > I was baffled about that too. I haven't consciously done anything that > would use llvm. I'm using a fully updated Arch linux, but with gcc > rolled back to 5.3. Then I just cloned the git repo and did 'make'. I > don't seem have any environment variables pointing to llvm either.
Well, it's apparently just that your toolchain isn't using binutils consistently; usually LLVM's tools get installed as 'llvm-ar' and 'llvm-ranlib', or they don't get installed into the default PATH. You may try to reinstall binutils or create appropriate symlinks along PATH (such that 'ar' and 'ranlib' originate from them), but I have no idea whether that's at all related to your main problem. If 'ar' etc. fail but that error isn't catched that's of course a bug. -leif P.S.: Downgrading GCC of course (in this case at least) also downgrades libstdc++ (to 6.0.21), so programs and libraries built against the newer one are borked. If the newer libstdc++ didn't get removed, it's probably just a matter of symlinking libstdc++.so.6 back to the more recent one, presumably libstdc++.so.6.0.22 (from GCC 6.1). -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.