Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with libqt-mt.so.3
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
alexeiad
n00b
n00b


Joined: 29 Dec 2006
Posts: 20

PostPosted: Thu Jan 11, 2007 4:11 am    Post subject: Problem with libqt-mt.so.3 Reply with quote

Hi, I have a problem with QT library. When I run someone QT program (like Opera) the terminal sais

error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: Error 40

I search for the solution and I probe many posible solutions but it still dont work.

Thanks.
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Thu Jan 11, 2007 5:10 am    Post subject: Reply with quote

Hi there!

Try revdep-rebuild from the gentoolkit. It should rebuild the packages linked to the bad library.
Back to top
View user's profile Send private message
alexeiad
n00b
n00b


Joined: 29 Dec 2006
Posts: 20

PostPosted: Thu Jan 11, 2007 11:35 am    Post subject: Reply with quote

Yes, it whas my firts choice but nothing diferent happends
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Thu Jan 11, 2007 3:01 pm    Post subject: Reply with quote

You can try to force revdep-rebuild to rebuild everything attached to that library:
Code:
# revdep-rebuild --library libqt-mt.so.3


-m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
alexeiad
n00b
n00b


Joined: 29 Dec 2006
Posts: 20

PostPosted: Fri Jan 12, 2007 1:45 pm    Post subject: Reply with quote

I do where madisonicus say but I have de same result. In fact the second packet on the list for reemerge fails because it not found libqt

Code:
/usr/qt/3/bin/uic: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: Error 40
make[3]: *** [settingsdlg_advanced.cpp] Error 127


some ideas?

thanks
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Fri Jan 12, 2007 2:20 pm    Post subject: Reply with quote

alexeiad wrote:
I do where madisonicus say but I have de same result. In fact the second packet on the list for reemerge fails because it not found libqt

Code:
/usr/qt/3/bin/uic: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: Error 40
make[3]: *** [settingsdlg_advanced.cpp] Error 127


some ideas?

thanks
Ok then need to you to check that you have the following files:
Code:
lrwxrwxrwx 1 root root      15 Oct 24 10:07 /usr/qt/3/lib/libqt-mt.so.3 -> libqt-mt.so.3.3
lrwxrwxrwx 1 root root      17 Oct 24 10:07 /usr/qt/3/lib/libqt-mt.so.3.3 -> libqt-mt.so.3.3.6
-rwxr-xr-x 1 root root 7335800 Oct 24 10:07 /usr/qt/3/lib/libqt-mt.so.3.3.6
Note that the first two are just symlinks to the third. If you don't have one of the symlinks then create them by:
Code:
# cd /usr/qt/3/lib
# ln -s libqt-mt.so.3.3.6 ./libqt-mt.so.3.3
# ln -s libqt-mt.so.3.3.6 ./libqt-mt.so.3


Also, you should probably re-emerge qt3:
Code:
# emerge -Dva1 =x11-libs/qt-3.3.6-r4

_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
alexeiad
n00b
n00b


Joined: 29 Dec 2006
Posts: 20

PostPosted: Sat Jan 13, 2007 3:17 pm    Post subject: Reply with quote

I reemerge QT3 but nothing. Is curious but I have this files

Code:
lrwxrwxrwx 1 root root      13 ene 12 20:05 libqt-mt.so -> libqt-mt.so.3
lrwxrwxrwx 1 root root      15 ene 12 20:05 libqt-mt.so.3 -> libqt-mt.so.3.3
lrwxrwxrwx 1 root root      17 ene 12 20:05 libqt-mt.so.3.3 -> libqt-mt.so.3.3.6


Some ideas?
Back to top
View user's profile Send private message
Zubzub
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 91
Location: ::1

PostPosted: Sun Feb 04, 2007 7:35 pm    Post subject: Reply with quote

I have the same problem with opera, my qt files are in place, revdep-rebduild doesnt find anything and the symlinks are all inorde.

I use opera on amd64 with emul-linux-qt (so the path is /usr/qt/3/lib32)

I tried symlinking to /usr/qt/3/lib and lib64 but still the same problem so I guess its opera searching in the wrong place.
Back to top
View user's profile Send private message
Zubzub
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 91
Location: ::1

PostPosted: Sun Feb 04, 2007 8:03 pm    Post subject: Reply with quote

Zubzub wrote:
I have the same problem with opera, my qt files are in place, revdep-rebduild doesnt find anything and the symlinks are all inorde.

I use opera on amd64 with emul-linux-qt (so the path is /usr/qt/3/lib32)

I tried symlinking to /usr/qt/3/lib and lib64 but still the same problem so I guess its opera searching in the wrong place.



k I found the solution, opera searches in /usr/lib32 (on amd64) so you have to manually create a symlink

as root

Code:
cd /usr/lib32
ln -s /usr/qt/3/lib32/libqt-mt.so.3.3.4 ./libqt-mt.so.3
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Sun Feb 04, 2007 8:05 pm    Post subject: Reply with quote

Zubzub wrote:

k I found the solution, opera searches in /usr/lib32 (on amd64) so you have to manually create a symlink

as root

Code:
cd /usr/lib32
ln -s /usr/qt/3/lib32/libqt-mt.so.3.3.4 ./libqt-mt.so.3


Great!

I think a bug should be posted at bugs.gentoo.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum