Problem starting Clementine and Virtualbox (Qt libraries error)

asked 2014-03-18 16:28:12 -0600

matheus-fonseca gravatar image

updated 2014-09-12 19:59:36 -0600

mether gravatar image

I recently started to use Fedora 20 (kerne 3.13.6-200.fc20.x86_64)l , and i'm having a few problems with packages that use Qt.

I cant start Clementine music player, it gave me the error:

$ clementine
clementine: error while loading shared libraries: /lib64/libQtNetwork.so.4: file too short

And i cant start Virtualbox too (another Qt lib problem):

$ virtualbox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /lib64/libQtCore.so.4: file too short

So I verified this shared objects (using "file" binary) and realized that they are empty (size = 0B):

$ for file i `ls /lib64/libQtNetwork*`; do file $i; done
/lib64/libQtNetwork_debug.so: ASCII text
/lib64/libQtNetwork.prl: ASCII text, with very long lines
/lib64/libQtNetwork.so: symbolic link to `/lib64/libQtNetwork.so.4.8.5'
/lib64/libQtNetwork.so.4: symbolic link to `/lib64/libQtNetwork.so.4.8.5'
/lib64/libQtNetwork.so.4.8: symbolic link to `/lib64/libQtNetwork.so.4.8.5'
/lib64/libQtNetwork.so.4.8.5: empty # Here is the real .so, and it's empty

$ for i in `ls /lib64/libQtCore*`; do file $i; done
/lib64/libQtCore_debug.so: ASCII text
/lib64/libQtCore.prl: ASCII text, with very long lines
/lib64/libQtCore.so: symbolic link to `libQtCore.so.4.8.5'
/lib64/libQtCore.so.4: symbolic link to `libQtCore.so.4.8.5'
/lib64/libQtCore.so.4.8: symbolic link to `libQtCore.so.4.8.5'
/lib64/libQtCore.so.4.8.5: empty # Here is the real .so, and it's empty

To prevent another problems like this, i verified all the libraries at /lib64, and I realized that there are another qt libs like that (libQtXmlPatterns, libQtTest, libQtSql, and so on).

My packages "qt" (qt.x86_64 1:4.8.5-15.fc20 installed) is updated with yum. Whats the problem? I really want my packages that I used in my previous distro (Ubuntu).

EDIT:

Now i saw that when i'm installing ANY new package with yum, it prints me this:

Instaling   : wireshark-1.10.6-1.fc20.x86_64 # Example when i installed wireshark
/sbin/ldconfig: File /lib64/libQtNetwork.so.4.8.5 is empty, not checked.
/sbin/ldconfig: File /lib64/libQtCore.so.4.8 is empty, not checked.
/sbin/ldconfig: File /lib64/libpthread.so is empty, not checked.
/sbin/ldconfig: File /lib64/libmng.so.1 is empty, not checked.
/sbin/ldconfig: File /lib64/libQtSql.so.4.8 is empty, not checked.
/sbin/ldconfig: File /lib64/libQtSql.so is empty, not checked.
/sbin/ldconfig: File /lib64/libQtOpenGL.so.4 is empty, not checked.
/sbin/ldconfig: File /lib64/libQtDBus.so.4.8.5 is empty, not checked.
# other lines.....

EDIT2:

Problem resolved :D I reinstalled all the qt libraries and rebooted:

# yum reinstall qt*
# reboot
edit retag flag offensive close merge delete

Comments

I've reinstall qt and thereafter reboot my machine. Then I go to terminal to open calibre, which is an ebook manager. But an error occured

Cannot mix incompatible Qt library (version 0x50401) with this library (version 0x50402)

Aborted (core dumped)

Northy gravatar imageNorthy ( 2015-07-05 04:04:36 -0600 )edit