Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Aug 2009 12:33:04 GMT
From:      Lucius Windschuh <lwindschuh@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/137515: www/opera: linux-flashplugin doesn't load
Message-ID:  <200908071233.n77CX4vG046199@www.freebsd.org>
Resent-Message-ID: <200908071240.n77Ce28M097403@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         137515
>Category:       ports
>Synopsis:       www/opera: linux-flashplugin doesn't load
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 07 12:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Lucius Windschuh
>Release:        CURRENT r196062
>Organization:
>Environment:
FreeBSD t400 8.0-BETA2 FreeBSD 8.0-BETA2 #94 r196062P: Wed Aug  5 00:28:45 CEST 2009     root@t400:/usr/obj/usr/src/sys/CURRENT  i386
>Description:
Running opera and loading a page with Flash elements gives:
$ opera
opera: X Shared memory extension is not available. ZPixmap not supported
/usr/local/share/opera/bin//operapluginwrapper.linux: error while loading shared libraries: /usr/local/lib/libXt.so.6: ELF file OS ABI invalid

This is related to ports/128458.

Because if you look at LD_LIBRARY_PATH in /usr/local/share/opera/bin/operapluginwrapper, it is set in my case to:
/usr/local/share/opera/bin/:/usr/local/jdk1.6.0/jre/lib/i386:/usr/local/jdk1.6.0/jre/lib/i386/native_threads:/usr/local/jdk1.6.0/jre/lib/i386/client:/usr/local/jdk1.6.0/jre/lib/i386/classic:/usr/local/lib:/usr/local/lib/compat/

But this is set by Opera, not me:
$ echo $LD_LIBRARY_PATH
LD_LIBRARY_PATH: Undefined variable.

So, it looks as if it is safer to clean LD_LIBRARY_PATH in /usr/local/share/opera/bin/operapluginwrapper.
>How-To-Repeat:
- Install Opera, linux-flashplugin9 and activate Java
- watch the Flash plugin loading fail
>Fix:
--- /tmp/orig   2009-08-07 14:31:11.000000000 +0200
+++ /usr/local/share/opera/bin/operapluginwrapper       2009-08-07 14:29:16.000000000 +0200
@@ -13,6 +13,8 @@
 case "${ELFTYPE}" in
        *SVR4*|*Linux*)
                if [ -x "$0.linux" ]; then
+                       LD_LIBRARY_PATH=
+                       export LD_LIBRARY_PATH
                        WRAPPER="linux"
                fi
        ;;

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908071233.n77CX4vG046199>