ports/125193: [patch]linux-opera fails to start due to its startup script
Henry Hu
henry.hu.sh at gmail.com
Wed Jul 2 18:10:02 UTC 2008
>Number: 125193
>Category: ports
>Synopsis: [patch]linux-opera fails to start due to its startup script
>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 Jul 02 18:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Henry Hu
>Release: FreeBSD 7-STABLE
>Organization:
Tsinghua University, Beijing, China
>Environment:
FreeBSD * 7.0-STABLE FreeBSD 7.0-STABLE #12: Wed Jul 2 18:55:58 CST 2008 root@*:/usr/obj/usr/src/sys/MYKERNEL i386
>Description:
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.
>How-To-Repeat:
1.Install linux-opera
2.Start it
>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:
--- linux-opera 2008-07-03 02:04:03.000000000 +0800
+++ /usr/local/bin/linux-opera 2008-07-03 01:56:07.000000000 +0800
@@ -168,7 +168,7 @@
# Spellchecker needs to find libaspell.so.15
for LIBASPELL_DIR in \
- /usr/local/lib \
+ /usr/compat/linux/usr/lib \
/opkg/lib \
; do
if ls $LIBASPELL_DIR/libaspell.so.1[5-9] >/dev/null 2>&1
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list