1 |
I managed to build Pale Moon on uclibc-ng, but it's flaky and freezes |
2 |
soon after starting. My first attempts to start it were greeted with... |
3 |
|
4 |
|
5 |
XPCOMGlueLoad error for file /home/waltdnes/pm/palemoon/libplc4.so: |
6 |
File not found |
7 |
Couldn't load XPCOM. |
8 |
|
9 |
A bit of Google searching found the suggestion to export LD_LIBRARY_PATH |
10 |
first, e.g... |
11 |
|
12 |
LD_LIBRARY_PATH=/home/waltdnes/pm/palemoon /home/waltdnes/pm/palemoon/palemoon |
13 |
|
14 |
That gets further; Pale Moon starts up, but freezes soon thereafter.. |
15 |
Here are the error messages from the xterm where it was launched from... |
16 |
|
17 |
|
18 |
|
19 |
/home/waltdnes/pm/palemoon/palemoon: '/usr/lib/libc.so' is not an ELF file |
20 |
/home/waltdnes/pm/palemoon/palemoon: '/usr/lib/libc.so' is not an ELF file |
21 |
************************* |
22 |
A coding exception was thrown and uncaught in a Task. |
23 |
|
24 |
Full message: TypeError: Stat.xstat is not a function |
25 |
Full stack: |
26 |
stat@resource://gre/modules/osfile/osfile_unix_back.jsm:630:19 |
27 |
stat@resource://gre/modules/osfile/osfile_unix_front.jsm:934:36 |
28 |
stat@resource://gre/modules/osfile/osfile_async_worker.js:187:1 |
29 |
worker.dispatch@resource://gre/modules/osfile/osfile_async_worker.js:31:26 |
30 |
anonymous/AbstractWorker.prototype.handleMessage@resource://gre/modules/workers/PromiseWorker.js:122:16 |
31 |
@resource://gre/modules/osfile/osfile_async_worker.js:46:43 |
32 |
|
33 |
************************* |
34 |
|
35 |
Notes... |
36 |
|
37 |
1) The part between the two "*************************" is repeated 5 or |
38 |
6 times before Pale Moon freezes. |
39 |
|
40 |
2) /usr/lib/libc.so is not an ELF file, because it's a *TEXT FILE*!!! |
41 |
|
42 |
[UCLIBC][root][/] cat /usr/lib/libc.so |
43 |
/* GNU ld script |
44 |
* Use the shared library, but some functions are only in |
45 |
* the static library, so try that secondarily. */ |
46 |
OUTPUT_FORMAT("elf32-i386", "elf32-i386", |
47 |
"elf32-i386") |
48 |
GROUP ( /usr/lib/uclibc_nonshared.a libpthread_nonshared.a |
49 |
/lib/libc.so.0 AS_NEEDED ( /lib/ld-uClibc.so.0 ) ) |
50 |
|
51 |
|
52 |
3) The build process to compile Pale Moon had initially failed early on, |
53 |
because it couldn't find /lib/libc.so.6, so I made one. It's actually a |
54 |
symlink pointing to libuClibc-0.1.0.22.so, the same file that |
55 |
/lib/libc.so.0 points to. |
56 |
|
57 |
-- |
58 |
Walter Dnes <waltdnes@××××××××.org> |