You are not logged in.

#1 2008-05-01 08:00:41

synthead
Member
Registered: 2006-05-09
Posts: 1,337

[solved] VirtualBox: libqt-mt.so.3: cannot open shared object file

When I try to run VirtualBox:

/opt/VirtualBox-1.5.6/VirtualBox: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory

What's wrong?  I have qt installed.

Last edited by synthead (2008-05-01 23:18:07)

Offline

#2 2008-05-01 14:16:53

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: [solved] VirtualBox: libqt-mt.so.3: cannot open shared object file

Just checking: do you have qt3 installed?

Offline

#3 2008-05-01 17:26:33

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [solved] VirtualBox: libqt-mt.so.3: cannot open shared object file

Yeah.

Offline

#4 2008-05-01 17:45:09

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: [solved] VirtualBox: libqt-mt.so.3: cannot open shared object file

OK, so check the file /opt/qt/lib/libqt-mt.so.3 is present in the filesystem (member of the qt3 package), and check /etc/ld.so.conf, if it contains the directory /opt/qt/lib.

Offline

#5 2008-05-01 19:41:05

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [solved] VirtualBox: libqt-mt.so.3: cannot open shared object file

bender02 wrote:

OK, so check the file /opt/qt/lib/libqt-mt.so.3 is present in the filesystem (member of the qt3 package)

[max@pwn lib]$ pwd && ls -l
/opt/qt/lib
total 18692
-rw-r--r-- 1 root root 9295926 2008-03-27 05:14 libdesignercore.a
-rw-r--r-- 1 root root     841 2008-03-27 05:14 libdesignercore.prl
-rw-r--r-- 1 root root  607100 2008-03-27 05:14 libeditor.a
-rw-r--r-- 1 root root     794 2008-03-27 05:14 libeditor.prl
-rw-r--r-- 1 root root   47244 2008-03-27 05:14 libqassistantclient.a
-rw-r--r-- 1 root root     805 2008-03-27 05:14 libqassistantclient.prl
-rw-r--r-- 1 root root     814 2008-03-27 05:14 libqt-mt.prl
lrwxrwxrwx 1 root root      17 2008-03-27 05:14 libqt-mt.so -> libqt-mt.so.3.3.8
lrwxrwxrwx 1 root root      17 2008-03-27 05:14 libqt-mt.so.3 -> libqt-mt.so.3.3.8
lrwxrwxrwx 1 root root      17 2008-03-27 05:14 libqt-mt.so.3.3 -> libqt-mt.so.3.3.8
-rwxr-xr-x 1 root root 8885408 2008-03-27 05:15 libqt-mt.so.3.3.8
-rw-r--r-- 1 root root     720 2008-03-27 05:14 libqui.prl
lrwxrwxrwx 1 root root      15 2008-03-27 05:14 libqui.so -> libqui.so.1.0.0
lrwxrwxrwx 1 root root      15 2008-03-27 05:14 libqui.so.1 -> libqui.so.1.0.0
lrwxrwxrwx 1 root root      15 2008-03-27 05:14 libqui.so.1.0 -> libqui.so.1.0.0
-rwxr-xr-x 1 root root  229080 2008-03-27 05:15 libqui.so.1.0.0
drwxr-xr-x 2 root root    4096 2008-03-27 05:14 pkgconfig
bender02 wrote:

and check /etc/ld.so.conf, if it contains the directory /opt/qt/lib

My ld.so.conf didn't have an entry for /opt/qt/lib!  I added it.  VirtualBox still can't see libqt-mt.so.3 though, unfortunately.

[max@pwn etc]$ cat ld.so.conf
#
# /etc/ld.so.conf
#

/opt/qt/lib
/opt/lib32/lib
/opt/lib32/usr/lib

# End of file

I really appreciate the support guys big_smile

Offline

#6 2008-05-01 19:49:12

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: [solved] VirtualBox: libqt-mt.so.3: cannot open shared object file

Well, after you edit ld.so.conf, you should run 'ldconfig' to rebuild the cache. Sorry I didn't mention that before.

Offline

#7 2008-05-01 23:17:54

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [solved] VirtualBox: libqt-mt.so.3: cannot open shared object file

bender02 wrote:

Well, after you edit ld.so.conf, you should run 'ldconfig' to rebuild the cache. Sorry I didn't mention that before.

WOOOOOOOOOO!!

worked!

Offline

Board footer

Powered by FluxBB