Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Another Opera Error (libqt-mt) [FIXED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
pandaxiongmao
Guru
Guru


Joined: 29 Sep 2003
Posts: 478
Location: USA

PostPosted: Mon Feb 04, 2008 12:06 am    Post subject: Another Opera Error (libqt-mt) [FIXED] Reply with quote

Here is what I got whenever I ran opera.
Code:
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
/opt/opera/lib/opera/9.25-20071214.6/opera: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory

I checked whether libqt-mt exists. The answer is yes.
Code:
lrwxrwxrwx 1 root root      13 Feb  3 16:00 /usr/qt/3/lib32/libqt-mt.so -> libqt-mt.so.3
lrwxrwxrwx 1 root root      15 Feb  3 16:00 /usr/qt/3/lib32/libqt-mt.so.3 -> libqt-mt.so.3.3
lrwxrwxrwx 1 root root      17 Feb  3 16:00 /usr/qt/3/lib32/libqt-mt.so.3.3 -> libqt-mt.so.3.3.8
-rwxr-xr-x 1 root root 7263824 Nov 10 22:29 /usr/qt/3/lib32/libqt-mt.so.3.3.8
lrwxrwxrwx 1 root root      11 Feb  3 16:00 /usr/qt/3/lib32/libqt.so -> libqt-mt.so
lrwxrwxrwx 1 root root      13 Feb  3 16:00 /usr/qt/3/lib32/libqt.so.3 -> libqt-mt.so.3
lrwxrwxrwx 1 root root      15 Feb  3 16:00 /usr/qt/3/lib32/libqt.so.3.3 -> libqt-mt.so.3.3
lrwxrwxrwx 1 root root      17 Feb  3 16:00 /usr/qt/3/lib32/libqt.so.3.3.8 -> libqt-mt.so.3.3.8

I tried to find out where libqt-mt belongs.
Code:
equery belongs libqt-mt.so
[ Searching for file(s) libqt-mt.so in *... ]
app-emulation/emul-linux-x86-qtlibs-20071210 (/usr/qt/3/lib32/libqt-mt.so -> libqt-mt.so.3)

As the last resort, I re-emerged emul-linux-x86-qtlibs, and it didn't solve the problem.

Any idea?
_________________
CPU: Intel Core 2 Duo
GPU: nVidia GeForce 9800 GT
MB: Asus P5N-E SLI


Last edited by pandaxiongmao on Wed Feb 06, 2008 8:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
downer
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2007
Posts: 120
Location: sweden

PostPosted: Mon Feb 04, 2008 9:51 am    Post subject: Reply with quote

i think you need qt or USE flag qt-static in opera.


//D
_________________
HP dv6500 (dv6501eo) Laptop and Dell Latitude E6420 work puter;
both running Gentoo x86_64 quite successfully.
Back to top
View user's profile Send private message
pandaxiongmao
Guru
Guru


Joined: 29 Sep 2003
Posts: 478
Location: USA

PostPosted: Mon Feb 04, 2008 11:54 pm    Post subject: Reply with quote

It works now, but it's still complaining about java. These 2 rows below persist.
Code:
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.

It is kinda weird since I got app-emulation/emul-linux-x86-java installed already.
_________________
CPU: Intel Core 2 Duo
GPU: nVidia GeForce 9800 GT
MB: Asus P5N-E SLI
Back to top
View user's profile Send private message
rwf
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 234
Location: mi.us

PostPosted: Tue Feb 05, 2008 1:37 am    Post subject: Reply with quote

Search the forums for the word 'libjava.so'. If you use the GUI to set the path, re-start Opera.
Back to top
View user's profile Send private message
pandaxiongmao
Guru
Guru


Joined: 29 Sep 2003
Posts: 478
Location: USA

PostPosted: Tue Feb 05, 2008 2:00 pm    Post subject: Reply with quote

I tried to enter this command below just like you recommended to the other guy on the post about the same error.
Code:
echo "/opt/sun-jdk-1.6.0.03/jre/lib/amd64/" > .opera/javapath.txt

However, the 2 lines still persist. Since I'm using amd64 system, so I replaced i386 with amd64.
_________________
CPU: Intel Core 2 Duo
GPU: nVidia GeForce 9800 GT
MB: Asus P5N-E SLI
Back to top
View user's profile Send private message
rwf
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 234
Location: mi.us

PostPosted: Tue Feb 05, 2008 3:26 pm    Post subject: Reply with quote

If you are running Opera 9.25, that's a 32-bit binary. A 32-bit program can not call a 64-bit shared library.
Back to top
View user's profile Send private message
pandaxiongmao
Guru
Guru


Joined: 29 Sep 2003
Posts: 478
Location: USA

PostPosted: Wed Feb 06, 2008 12:55 am    Post subject: Reply with quote

That explains why it didn't work.

Okay, I finally managed to fix the message by pointing the java path (Tools > Preferences > Content > Java Options) to the right folder; in my case, it is /opt/emul-linux-x86-java-1.6.0.03/lib/i386/.
_________________
CPU: Intel Core 2 Duo
GPU: nVidia GeForce 9800 GT
MB: Asus P5N-E SLI
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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