Problem running rstudio on Rocky Linux 8.6 [RHEL 8.6]

Error message:
/usr/lib64/libQt5XcbQpa.so.5: version Qt_5_PRIVATE_API not found (required by /usr/lib/rstudio/plugins/platforms/libqxcb.so

I found the following in /usr/lib64
rwxrwxrwx. 1 root root 22 Apr 22 23:17 libQt5XcbQpa.so.5.15 -> libQt5XcbQpa.so.5.15.2
-rwxr-xr-x. 1 root root 1477776 Apr 22 23:23 libQt5XcbQpa.so.5.15.2
lrwxrwxrwx. 1 root root 22 Jun 3 09:18 libQt5XcbQpa.so.5 -> libQt5XcbQpa.so.5.15.2

The following fixed the problem
cd /usr/lib64/
rm libQt5XcbQpa.so.5
cp /usr/lib/rstudio/lib/libQt5XcbQpa.so.5 libQt5XcbQpa.so.5.0
ln -s libQt5XcbQpa.so.5.0 libQt5XcbQpa.so.5
It appears that rstudio will not work with libQt5XcbQpa.so.5.15.2

System Info
Rocky Linux 8.6 [RHEL 8.6] 4.18.0-372.9.1.el8.x86_64

Thanks for reporting! We're working on a version of RStudio that doesn't use Qt, so hopefully an upcoming release will resolve this issue. You can try a preview build here if you like:

https://dailies.rstudio.com/rstudio/spotted-wakerobin/electron/rhel8/

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.