Public bug reported: as pointed out in https://golang.org/issue/26567, the go tool doesn't find it's library, installed in a path which has only the major version as a path component, but not the complete version, and gcc -dumpversion prints 6.0.0. Solution here is to just provide an additional symlink 6.x.y to 6. Don't change the output of gcc -dumpversion.
Properly fixed in GCC 7 and GCC 8. ** Affects: gcc-6 (Ubuntu) Importance: Undecided Status: New ** Affects: gcc-6 (Ubuntu Xenial) Importance: Undecided Status: New ** Affects: gcc-6 (Ubuntu Bionic) Importance: Undecided Status: New ** Affects: gcc-6 (Ubuntu Cosmic) Importance: Undecided Status: New ** Also affects: gcc-6 (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: gcc-6 (Ubuntu Cosmic) Importance: Undecided Status: New ** Also affects: gcc-6 (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1783930 Title: go library not found by the go tool To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-6/+bug/1783930/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs