Bug 125193 - [patch] www/linux-opera fails to start due to its startup script
Summary: [patch] www/linux-opera fails to start due to its startup script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jeremy Messenger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 19:10 UTC by Henry Hu
Modified: 2008-07-03 05:01 UTC (History)
0 users

See Also:


Attachments
file.diff (350 bytes, patch)
2008-07-02 19:10 UTC, Henry Hu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.