Line 151: |
Line 151: |
| dnf install qt-x11 mesa-libGLU | | dnf install qt-x11 mesa-libGLU |
| and answering "y" to all questions (attention - this installs a non-default repository). | | and answering "y" to all questions (attention - this installs a non-default repository). |
− | In case of other Fedora or Redhat Enterprise Linux distributions, you may have to | + | |
| + | In case of other '''Fedora''' or Redhat Enterprise Linux ('''RHEL'''; same as CentOS) distributions, you may have to |
| yum install qt qt-x11 | | yum install qt qt-x11 |
| if you get the error message | | if you get the error message |
| xdsgui: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory | | xdsgui: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory |
| or similar for libQtCore.so.4. | | or similar for libQtCore.so.4. |
| + | If in case of RHEL or related distributions you don't know the name of the package, e.g. |
| + | yum provides "*/libQtCore.so.4" |
| + | would tell you about it. |
| | | |
− | '''Ubuntu 14.04''' has libmng2 instead of libmng. Therefore, on 32bit systems you should try | + | '''Ubuntu''' needs the libglu1-mesa package if you get the error message |
− | sudo ln -s /usr/lib/i386-linux-gnu/libmng.so.2 /usr/lib/i386-linux-gnu/libmng.so.1
| + | xdsgui: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory |
− | and on 64bit systems
| + | If in the case of Ubuntu you don't know the name of the package that provides a certain library, the |
− | sudo ln -s /usr/lib/x86_64-linux-gnu/libmng.so.2 /usr/lib/x86_64-linux-gnu/libmng.so.1
| + | sudo apt-file search libGLU.so.1 |
− | if you get the error message | + | command would find it for you. This needs a one-time installation by |
− | xdsgui: error while loading shared libraries: libmng.so.1: cannot open shared object file: No such file or directory | + | sudo apt install apt-file |
| + | sudo apt-file update |
| + | |
| | | |
| On the '''Mac''' (e.g. Yosemite) one needs [https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12 Xcode] installed. Otherwise one may obtain a popup error “You can’t open the application because it is not supported on this type of Mac.” After installation of Xcode, run the <code>strings</code> command (once) and accept the license agreement! | | On the '''Mac''' (e.g. Yosemite) one needs [https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12 Xcode] installed. Otherwise one may obtain a popup error “You can’t open the application because it is not supported on this type of Mac.” After installation of Xcode, run the <code>strings</code> command (once) and accept the license agreement! |