Sent from my BlackBerry Passport. Original Message From: Walter Dnes Sent: Thursday, March 9, 2017 02:56 To: Gentoo embedded Reply To: gentoo-embedded@lists.gentoo.org Subject: [gentoo-embedded] Weird error messages uclibc-ng with Pale Moon
I managed to build Pale Moon on uclibc-ng, but it's flaky and freezes soon after starting. My first attempts to start it were greeted with... XPCOMGlueLoad error for file /home/waltdnes/pm/palemoon/libplc4.so: File not found Couldn't load XPCOM. A bit of Google searching found the suggestion to export LD_LIBRARY_PATH first, e.g... LD_LIBRARY_PATH=/home/waltdnes/pm/palemoon /home/waltdnes/pm/palemoon/palemoon That gets further; Pale Moon starts up, but freezes soon thereafter.. Here are the error messages from the xterm where it was launched from... /home/waltdnes/pm/palemoon/palemoon: '/usr/lib/libc.so' is not an ELF file /home/waltdnes/pm/palemoon/palemoon: '/usr/lib/libc.so' is not an ELF file ************************* A coding exception was thrown and uncaught in a Task. Full message: TypeError: Stat.xstat is not a function Full stack: stat@resource://gre/modules/osfile/osfile_unix_back.jsm:630:19 stat@resource://gre/modules/osfile/osfile_unix_front.jsm:934:36 stat@resource://gre/modules/osfile/osfile_async_worker.js:187:1 worker.dispatch@resource://gre/modules/osfile/osfile_async_worker.js:31:26 anonymous/AbstractWorker.prototype.handleMessage@resource://gre/modules/workers/PromiseWorker.js:122:16 @resource://gre/modules/osfile/osfile_async_worker.js:46:43 ************************* Notes... 1) The part between the two "*************************" is repeated 5 or 6 times before Pale Moon freezes. 2) /usr/lib/libc.so is not an ELF file, because it's a *TEXT FILE*!!! [UCLIBC][root][/] cat /usr/lib/libc.so /* GNU ld script * Use the shared library, but some functions are only in * the static library, so try that secondarily. */ OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") GROUP ( /usr/lib/uclibc_nonshared.a libpthread_nonshared.a /lib/libc.so.0 AS_NEEDED ( /lib/ld-uClibc.so.0 ) ) 3) The build process to compile Pale Moon had initially failed early on, because it couldn't find /lib/libc.so.6, so I made one. It's actually a symlink pointing to libuClibc-0.1.0.22.so, the same file that /lib/libc.so.0 points to. -- Walter Dnes <waltd...@waltdnes.org>