This forum has been archived. All content is frozen. Please use KDE Discuss instead.

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

Tags: r-tt r-studio, kubuntu 12, qt, version conflict r-tt r-studio, kubuntu 12, qt, version conflict r-tt r-studio, kubuntu 12, qt, version conflict
(comma "," separated)
ChapaikinVA
Registered Member
Posts
14
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
6668
Karma
25
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 Leap 42.1 x64, Plasma 5.x

ChapaikinVA
Registered Member
Posts
14
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
6668
Karma
25

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 Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
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/


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
ChapaikinVA
Registered Member
Posts
14
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)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]