View previous topic :: View next topic |
Author |
Message |
alexeiad n00b
Joined: 29 Dec 2006 Posts: 20
|
Posted: Thu Jan 11, 2007 4:11 am Post subject: Problem with libqt-mt.so.3 |
|
|
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 |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Thu Jan 11, 2007 5:10 am Post subject: |
|
|
Hi there!
Try revdep-rebuild from the gentoolkit. It should rebuild the packages linked to the bad library. |
|
Back to top |
|
|
alexeiad n00b
Joined: 29 Dec 2006 Posts: 20
|
Posted: Thu Jan 11, 2007 11:35 am Post subject: |
|
|
Yes, it whas my firts choice but nothing diferent happends |
|
Back to top |
|
|
madisonicus Veteran
Joined: 20 Sep 2006 Posts: 1130
|
Posted: Thu Jan 11, 2007 3:01 pm Post subject: |
|
|
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 |
|
|
alexeiad n00b
Joined: 29 Dec 2006 Posts: 20
|
Posted: Fri Jan 12, 2007 1:45 pm Post subject: |
|
|
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 |
|
|
madisonicus Veteran
Joined: 20 Sep 2006 Posts: 1130
|
Posted: Fri Jan 12, 2007 2:20 pm Post subject: |
|
|
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 |
|
|
alexeiad n00b
Joined: 29 Dec 2006 Posts: 20
|
Posted: Sat Jan 13, 2007 3:17 pm Post subject: |
|
|
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 |
|
|
Zubzub Tux's lil' helper
Joined: 14 Jun 2006 Posts: 91 Location: ::1
|
Posted: Sun Feb 04, 2007 7:35 pm Post subject: |
|
|
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 |
|
|
Zubzub Tux's lil' helper
Joined: 14 Jun 2006 Posts: 91 Location: ::1
|
Posted: Sun Feb 04, 2007 8:03 pm Post subject: |
|
|
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 |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Sun Feb 04, 2007 8:05 pm Post subject: |
|
|
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 |
|
|
|