Skip to content

Instantly share code, notes, and snippets.

@patocarr
Created May 13, 2019 21:36
Show Gist options
  • Save patocarr/540cddff4ce968a6f9c0862910b9b6e4 to your computer and use it in GitHub Desktop.
Save patocarr/540cddff4ce968a6f9c0862910b9b6e4 to your computer and use it in GitHub Desktop.
Lattice Diamond - online help fix on Fedora 29
Accessing Diamond's online help throws the following error on Fedora 29.
/usr/lib64/firefox/firefox: /opt/diamond/3.10_x64/bin/lin64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib64/firefox/firefox)
Adding a soft link to the libstdc++ local library fixes the issue:
[pcarr@localhost lin64]$ ls -l /usr/lib64/libstdc++.so*
lrwxrwxrwx. 1 root root 19 Feb 23 12:26 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.25
-rwxr-xr-x. 1 root root 1653024 Feb 23 12:33 /usr/lib64/libstdc++.so.6.0.25
[pcarr@localhost lin64]$ cd /opt/diamond/3.10_x64/bin/lin64/
[pcarr@localhost lin64]$ ls -l libstdc++.so*
lrwxrwxrwx. 1 18663 17724 19 Sep 19 2017 libstdc++.so -> libstdc++.so.6.0.18
lrwxrwxrwx. 1 18663 17724 18 Sep 19 2017 libstdc++.so.5 -> libstdc++.so.5.0.7
-rwxr-xr-x. 1 18663 17724 825496 Feb 17 2005 libstdc++.so.5.0.7
lrwxrwxrwx. 1 18663 17724 19 Sep 19 2017 libstdc++.so.6 -> libstdc++.so.6.0.18
-rwxr-xr-x. 1 18663 17724 6662831 Feb 20 2014 libstdc++.so.6.0.18
[pcarr@localhost lin64]$ sudo rm libstdc++.so.6
[sudo] password for pcarr:
[pcarr@localhost lin64]$ sudo ln -s /usr/lib64/libstdc++.so.6 libstdc++.so.6
[pcarr@localhost lin64]$ ls -l libstdc++.so*
lrwxrwxrwx. 1 18663 17724 19 Sep 19 2017 libstdc++.so -> libstdc++.so.6.0.18
lrwxrwxrwx. 1 18663 17724 18 Sep 19 2017 libstdc++.so.5 -> libstdc++.so.5.0.7
-rwxr-xr-x. 1 18663 17724 825496 Feb 17 2005 libstdc++.so.5.0.7
lrwxrwxrwx. 1 root root 30 May 13 14:26 libstdc++.so.6 -> /usr/lib64/libstdc++.so.6
-rwxr-xr-x. 1 18663 17724 6662831 Feb 20 2014 libstdc++.so.6.0.18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment