Bug 125193

Summary: [patch] www/linux-opera fails to start due to its startup script
Product: Ports & Packages Reporter: Henry Hu <henry.hu.sh>
Component: Individual Port(s)Assignee: Jeremy Messenger <mezz>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Henry Hu 2008-07-02 19:10:02 UTC
After upgrading to linux-opera 9.50, linux-opera fails to start.
It says "OS ABI Invalid" about libX11.so.6.
After searching, I found that it's caused by its startup script.
It appends the directory where it founds libaspell.so.1[5-9] to LD_LIBRARY_PATH, and it searched /usr/local/lib and found it, so LD_LIBRARY_PATH ends with /usr/local/lib, and the opera binary found the wrong library.

Fix: Edit /usr/local/bin/linux-opera, change /usr/local/lib on line 171 to /usr/compat/linux/usr/lib/


Patch attached with submission follows:
How-To-Repeat: 1.Install linux-opera
2.Start it
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-07-02 22:41:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mezz

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2008-07-03 05:00:02 UTC
State Changed
From-To: open->closed

Strange, I can't reproduce your problem and my spellchecker still works. You 
are first person to report it. But I have committed a fix.