From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 7 12:40:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5645F1065680 for ; Fri, 7 Aug 2009 12:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 329B68FC28 for ; Fri, 7 Aug 2009 12:40:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n77Ce2Nx097404 for ; Fri, 7 Aug 2009 12:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n77Ce28M097403; Fri, 7 Aug 2009 12:40:02 GMT (envelope-from gnats) Resent-Date: Fri, 7 Aug 2009 12:40:02 GMT Resent-Message-Id: <200908071240.n77Ce28M097403@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lucius Windschuh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 119A4106566B for ; Fri, 7 Aug 2009 12:33:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id F41978FC1F for ; Fri, 7 Aug 2009 12:33:04 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n77CX4K5046200 for ; Fri, 7 Aug 2009 12:33:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n77CX4vG046199; Fri, 7 Aug 2009 12:33:04 GMT (envelope-from nobody) Message-Id: <200908071233.n77CX4vG046199@www.freebsd.org> Date: Fri, 7 Aug 2009 12:33:04 GMT From: Lucius Windschuh To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/137515: www/opera: linux-flashplugin doesn't load X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 12:40:02 -0000 >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: