Reply to topic

How to run R-Studio, which uses higher Qt version?

ChapaikinVA
Registered Member
Posts
10
Karma
0
OS
KUbuntu 12.04 can not run R-TT R-Studio. The message in a console is:
Code: Select all
Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40802)
Aborted (core dumped)

How to solve the problem?
----------------------------------------
It seems like the problem is solved.

Last edited by ChapaikinVA on Tue Apr 23, 2013 4:29 pm, edited 1 time in total.
User avatar google01103
Manager
Posts
5825
Karma
20
OS
open up your package manager and ensure all versions of libqt4 packages are of the same version (4.8.x) and from the same repo and probably reinstall all of them

also, look at the R-Studio package, does it include and Qt libs?


OpenSuse 13.2 x64, KDE 4.14.x & Plasma 5.x

ChapaikinVA
Registered Member
Posts
10
Karma
0
OS
google01103 wrote:open up your package manager and ensure all versions of libqt4 packages are of the same version (4.8.x) and from the same repo and probably reinstall all of them

also, look at the R-Studio package, does it include and Qt libs?

0. I mean R-Studio, a product of R-TT that is intended for data recovery.
1. I use Muon Package Manager 1.3.1.

2. As I can see on the tab "Versions:" ("Available versions"), all the packages libqt4* have the same values:

    4:4.8.1-0ubuntu4.4 (precise-updates)
    4:4.8.1-0ubuntu4 (precise)

3. As I can see on the tab "By origin", all the packages libqt4* have the same only value:

    Ubuntu

4. As I can see on the tab "Installed files" for rstudio package, the package includes some Qt files:

    /usr/local/R-Studio/lib/libQtCore.so
    /usr/local/R-Studio/lib/libQtCore.so.4.8
    /usr/local/R-Studio/lib/libQtCore.so.4.8.2
    /usr/local/R-Studio/lib/libQtGui.so
    /usr/local/R-Studio/lib/libQtGui.so.4
    /usr/local/R-Studio/lib/libQtGui.so.4.8
    /usr/local/R-Studio/lib/libQtGui.so.4.8.2
User avatar google01103
Manager
Posts
5825
Karma
20
OS

Tue Apr 23, 2013 10:17 am
so their libQt_____.so.4.8.2 is causing the error
Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40802)


I would ask their tech support, you can ask on their forum or by emailing them

might be how the pathing works where /usr/local is searched befoe /usr/lib or they change the path in a script - no idea


OpenSuse 13.2 x64, KDE 4.14.x & Plasma 5.x

User avatar bcooksley
Administrator
Posts
19743
Karma
85
OS
Given that Qt 4.8.2 and 4.8.1 are very close, they are extremely likely to be compatible.
In this case, moving the /usr/local/R-Studio/lib/libQt* files somewhere else might fix this.

If it does not, move the libQt* files back, and try running the following in a terminal prior to starting R-Studio. Make sure you start R-Studio from the same terminal.
Code: Select all
export LD_LIBRARY_PATH=/usr/local/R-Studio/lib/


System Settings and Device Actions KCM maintainer
Image
ChapaikinVA
Registered Member
Posts
10
Karma
0
OS
bcooksley wrote: the /usr/local/R-Studio/lib/libQt* files somewhere else might fix this

I tried, and R-Studio become be able to be started.

I didn't try to use this application yet, so I can not tell that the application work properly (i. e., I can not confirm that this solution is absolutely safe). But now I (at least) can start the application.

Details:

0. I use:

R-Studio for Linux for Debian/Ubuntu Linux platform (x86)
File Name: RStudio2_i386.deb
Date Released: Jun 21 2012
Version: 2.0 build 377

1. Directory "/usr/local/R-Studio/lib/" contains:

    libQtCore.so - it is a symlink to: libQtCore.so.4.8.2 (a path is not specified)
    libQtCore.so.4 - it is a symlink to: libQtCore.so.4.8.2 (a path is not specified)
    libQtCore.so.4.8 - it is a symlink to: libQtCore.so.4.8.2 (a path is not specified)
    libQtCore.so.4.8.2 - it is a library (not a symlink)
    libQtGui.so - it is symlink to: libQtGui.so.4.8.2 (a path is not specified)
    libQtGui.so.4 - it is symlink to: libQtGui.so.4.8.2 (a path is not specified)
    libQtGui.so.4.8 - it is symlink to: libQtGui.so.4.8.2 (a path is not specified)
    libQtGui.so.4.8.2 - it is a library (not a symlink)

2. This way led me to the desired result:
bcooksley wrote: the /usr/local/R-Studio/lib/libQt* files somewhere else might fix this

3. I performed the following steps (this way also led me to the desired result):

3.1. Rename (i. e., do not delete) libQtCore.so.4.8.2 and libQtGui.so.4.8.2 e.g. as *.Renamed.

3.2. Create the following symlinks:

    libQtCore.so.4.8.2 - a symlink to: libQtCore.so.4.8.1 (a path is not specified)
    libQtGui.so.4.8.2 - a symlink to: libQtGui.so.4.8.1 (a path is not specified)

 
Reply to topic

Bookmarks



Who is online

Registered users: andreas_k, arucard, Baidu [Spider], Bing [Bot], capslock, Exabot [Bot], Google [Bot], LukasT.dev, Majestic-12 [Bot], ojekhitam, paulus3005, ramos, sbalan, shmerl, Xiceph, Yahoo [Bot]