Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206074 - www-client/opera: java libraries fail to preload on java free systems
Summary: www-client/opera: java libraries fail to preload on java free systems
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-16 11:13 UTC by Karl Schulz
Modified: 2008-01-16 16:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Schulz 2008-01-16 11:13:13 UTC
usr/bin/opera tries to preload Java libraries:
--
LD_PRELOAD="libjvm.so:libawt.so:${OPERA_LD_PRELOAD}"
--

on non-java systems. This leads to the following error messages:
--
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.
--

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-01-16 15:03:07 UTC
It's harmless. It's not even a bug. :)

If you really want to get rid of the messages, then simply comment out lines 190 and 197 in /usr/bin/opera (or if the line numbers would change, the lines right below the lines that say:

# To disable the first workaround, comment the next line.

and

    # To disable the second workaround, comment the next line.
Comment 2 Karl Schulz 2008-01-16 16:46:36 UTC
> It's harmless.
I know.

> If you really want to get rid of the messages, then simply comment out lines
Yes, but with the next update the changes are gone. It's a pretty ugly design to assume such crappy libraries on a system and spam the user with error messages.