Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186672 - www-client/opera: libXt and libXm link error
Summary: www-client/opera: libXt and libXm link error
Status: RESOLVED DUPLICATE of bug 181854
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL: http://my.opera.com/community/forums/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-26 12:21 UTC by Denilson Sá Maia
Modified: 2007-07-26 12:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
$ emerge --verbose --info (emerge_info.txt,9.16 KB, text/plain)
2007-07-26 12:46 UTC, Denilson Sá Maia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denilson Sá Maia 2007-07-26 12:21:32 UTC
I've originally posted this at
http://my.opera.com/community/forums/topic.dml?id=187461
But, after taking a quick look at opera ebuild and opera script (really quick, I've read only a few lines), I thought this "problem" might be related to gentoo, or maybe to those dirty workarounds to preload Java. Here is the problem:

Nowadays, whenever I try to open a Java applet inside Opera, I get this message printed on terminal:
 Runtime link error - it appears that libXt got loaded before libXm,
 which is not allowed.

The funny thing is that it used to work a few months ago.

My x86 system has:
www-client/opera-9.22
dev-java/sun-jdk-1.5.0.12

I would suggest first to try to disable that JAVA_WORKAROUND in opera script. Then, I would also suggest removing the patch(es) to this opera script in ebuild. Finally, I would suggest to add the workaround described in above URL to opera script.

(I hope some else can reproduce this problem)
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-07-26 12:37:01 UTC
emerge --verbose --info. I am guessing this to be a dupe of bug 181854
Comment 2 Denilson Sá Maia 2007-07-26 12:46:02 UTC
Created attachment 126065 [details]
$  emerge --verbose --info

I guess you are right, might be a dupe of that bug. I do have AWT_TOOLKIT=MToolkit in my user account (I guess I've added that to fix problems with Java and beryl).

(I haven't found that bug before because it didn't mentioned "opera", and I was looking for "ALL opera java" bugs)

Maybe the workaround in that forum topic helps?

Note that Java works fine inside firefox, but does not work inside Opera. It also works fine as Java stand-alone apps.

Versions on my system:
dev-java/sun-jdk-1.4.2.15
dev-java/sun-jdk-1.5.0.12
www-client/opera-9.22
www-client/mozilla-firefox-bin-2.0.0.5
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-07-26 12:48:04 UTC
(In reply to comment #2)
> Created an attachment (id=126065) [edit]
> $  emerge --verbose --info
> 
> I guess you are right, might be a dupe of that bug. I do have
> AWT_TOOLKIT=MToolkit in my user account (I guess I've added that to fix
> problems with Java and beryl).
> 

Marking as a duplicate then as fixing that bug will fix your problems too.

*** This bug has been marked as a duplicate of bug 181854 ***