ports/91900: ports/www/opera should advise on libmap.conf entries

Helge Oldach freebsdoperajan06 at oldach.net
Tue Jan 17 06:10:06 UTC 2006


>Number:         91900
>Category:       ports
>Synopsis:       ports/www/opera should advise on libmap.conf entries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 17 06:10:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Helge Oldach
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:

System: FreeBSD localhost 5.4-STABLE FreeBSD 5.4-STABLE #598: Mon Jan 16 15:03:58 CET 2006 toor at localhost:/usr/obj/usr/src/sys/HMO i386

>Description:

Current Opera (8.51) is still compiled against 4.x libraries. The
distributed Motif plugin wrappers in /usr/X11R6/share/opera/plugins
contain references to libXThrStub.so.6 which is no longer built by
xorg-libraries for ${OSVERSION} >= 500043. For that reason Opera
complains on start-up:

| Opera encountered a problem during plug-in setup.
| Plug-ins will not work properly.
| Check your installation.
|
| Could not start plug-in executable 'operamotifwrapper'.
| /usr/X11R6/lib/RealPlayer/plugins/operamotifwrapper-3
| Please install Motif.

Note that the error message itself is misleading. It occurs
even if open-motif is installed. The true reason is the lack of
libXThrStub.so.6:

| # ldd operamotifwrapper-3
| operamotifwrapper-3:
|         libXm.so.3 => /usr/X11R6/lib/libXm.so.3 (0x28097000)
|         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x2829d000)
|         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x282e6000)
|         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x282f3000)
|         libm.so.2 => /usr/local/lib/compat/libm.so.2 (0x283b2000)
|         libc.so.4 => /usr/local/lib/compat/libc.so.4 (0x283cd000)
|         libXThrStub.so.6 => not found (0x0)
|         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28466000)
|         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x2846e000)
|         libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28485000)
| # 

While we're there, also fix refrences for the other operamotifwrapper's.

>How-To-Repeat:

>Fix:

Add a note to pkg-message advising the user to add the following to
/etc/libmap.conf:

# Opera - Motif
[/usr/X11R6/share/opera/plugins/operamotifwrapper-1] 
libXm.so.1	libXm.so.3
libXThrStub.so.6	libXtst.so.6
[/usr/X11R6/share/opera/plugins/operamotifwrapper-2] 
libXm.so.2	libXm.so.3 
libXThrStub.so.6	libXtst.so.6
[/usr/X11R6/share/opera/plugins/operamotifwrapper-3]
libXThrStub.so.6	libXtst.so.6

(or update /etc/libmap.conf automagically :-))
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list