When I run rstudio
on the command line (Linux Mint) it returns
rstudio: /usr/lib/x86_64-linux-gnu/libQt5WebKitWidgets.so.5: version `Qt_5' not found (required by rstudio)
In looking up this problem I see the suggestion to set LD_LIBRARY_PATH=...
where the ... is filled in with the path to the Qt5 libs. In trying to figure out where that is, my best guess has been /usr/lib/x86_64-linux-gnu
which I guessed from looking at
$ dpkg -L qt5-default
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/qt5-default
/usr/share/doc/qt5-default/copyright
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/qtchooser
/usr/share/doc/qt5-default/changelog.Debian.gz
/usr/share/doc/qt5-default/LGPL_EXCEPTION.txt
Looking at How to fix: [program name] /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by [program name]) and /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.7' not found (required by emulator64-x86) made me suspect this choice but adding LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
to /.bashrc
didn't fix the problem.
Interestingly, running as root makes RStudio launch.