Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2008 09:02:48 GMT
From:      "Eric L. Chen" <d9364104@mail.nchu.edu.tw>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/128458: www/opera can not load linux-flashplugin properly.
Message-ID:  <200810290902.m9T92mvd052570@www.freebsd.org>
Resent-Message-ID: <200810290910.m9T9A11p099491@freefall.freebsd.org>

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

>Number:         128458
>Category:       ports
>Synopsis:       www/opera can not load linux-flashplugin properly.
>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:   Wed Oct 29 09:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Eric L. Chen
>Release:        7-STABLE/i386
>Organization:
National Chung Hsing University
>Environment:
FreeBSD lihong-nb.local 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #24: Tue Oct 28 09:43:41 CST 2008     root@lihong-nb.local:/usr/obj/usr/src/sys/lihong-nb  i386
>Description:
Running opera with linux-flashplugin will causes this error:
/usr/local/share/opera/bin//operapluginwrapper.linux: error while loading shared libraries: /usr/local/lib/libXt.so.6: ELF file OS ABI invalid
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -purN www/opera.orig/files/operapluginwrapper www/opera/files/operapluginwrapper
--- www/opera.orig/files/operapluginwrapper	2008-10-29 16:58:24.000000000 +0800
+++ www/opera/files/operapluginwrapper	2008-10-29 16:59:52.000000000 +0800
@@ -11,6 +11,8 @@ WRAPPER="freebsd"
 case "${ELFTYPE}" in
 	*SVR4*|*Linux*)
 		if [ -x "$0.linux" ]; then
+			export LD_LIBRARY_PATH="/compat/linux/usr/X11R6/lib:/com
+pat/linux/usr/lib:/compat/linux/lib"
 			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?200810290902.m9T92mvd052570>