all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arne Babenhauserheide <arne_bab@web.de>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 38565@debbugs.gnu.org
Subject: bug#38565: Cannot run pre-compiled Firefox
Date: Wed, 11 Dec 2019 16:56:32 +0100	[thread overview]
Message-ID: <87zhfyq2j3.fsf@web.de> (raw)
In-Reply-To: <87k1732c0v.fsf@elephly.net>

[-- Attachment #1: Type: text/plain, Size: 2869 bytes --]


Ricardo Wurmus <rekado@elephly.net> writes:

> Arne Babenhauserheide <arne_bab@web.de> writes:
>
>> Previously I got it working with the following setup:
>>
>> cd $HOME/Downloads/firefox
>> export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/run/current-system/profile/lib/:$HOME/.guix-profile/lib/:$HOME/.guix-profile/lib/nss/:$HOME/.guix-profile/lib/lib/:/gnu/store/69x60a1pn0mf5jv68al8awjfkyp1miwi-gcc-8.3.0-lib/lib/:./browser:."
>> ./firefox-bin
>
> LD_LIBRARY_PATH forces firefox-bin to use libraries from the given
> directories.  These might not be ABI compatible, so a segfault is one of
> the expected outcomes.

Yes — I’m looking for a way to get it working again.

>> This used to work with only minor limitations.
>
> I’m surprised it worked before, because often it doesn’t.  Do you happen
> to know what libraries and their exact versions this firefox binary
> expects?

$ ldd firefox-bin
	linux-vdso.so.1 (0x00007ffed00b5000)
	libpthread.so.0 => /gnu/store/jdfs3xvlnj272475yja6bjrprfsgnkdd-glibc-2.29/lib/libpthread.so.0 (0x00007f238888d000)
	libdl.so.2 => /gnu/store/jdfs3xvlnj272475yja6bjrprfsgnkdd-glibc-2.29/lib/libdl.so.2 (0x00007f2388888000)
	librt.so.1 => /gnu/store/jdfs3xvlnj272475yja6bjrprfsgnkdd-glibc-2.29/lib/librt.so.1 (0x00007f238887e000)
	libstdc++.so.6 => not found
	libm.so.6 => /gnu/store/jdfs3xvlnj272475yja6bjrprfsgnkdd-glibc-2.29/lib/libm.so.6 (0x00007f238873e000)
	libgcc_s.so.1 => not found
	libc.so.6 => /gnu/store/jdfs3xvlnj272475yja6bjrprfsgnkdd-glibc-2.29/lib/libc.so.6 (0x00007f2388582000)
	/lib64/ld-linux-x86-64.so.2 => /gnu/store/jdfs3xvlnj272475yja6bjrprfsgnkdd-glibc-2.29/lib/ld-linux-x86-64.so.2 (0x00007f2388916000)

The shipped libraries:

$ ldd *so | cut -d ' ' -f 1  | sort -u | grep -e "^[^l]"
	libatk-1.0.so.0
	libblkid.so.1
	libcairo-gobject.so.2
	libcairo.so.2
	libc.so.6
	libdbus-1.so.3
	libdbus-glib-1.so.2
	libdl.so.2
	libffi.so.6
	libfontconfig.so.1
	libfreetype.so.6
	libgcc_s.so.1
	libgdk-3.so.0
	libgdk_pixbuf-2.0.so.0
	libgio-2.0.so.0
	libglib-2.0.so.0
	libgmodule-2.0.so.0
	libgobject-2.0.so.0
	libgthread-2.0.so.0
	libgtk-3.so.0
	liblgpllibs.so
	libmount.so.1
	libmozavutil.so
	libmozgtk.so
	libmozsandbox.so
	libmozsqlite3.so
	libmozwayland.so
	libm.so.6
	libnspr4.so
	libnss3.so
	libnssutil3.so
	libpango-1.0.so.0
	libpangocairo-1.0.so.0
	libpangoft2-1.0.so.0
	libpcre.so.1
	libplc4.so
	libplds4.so
	libpthread.so.0
	libresolv.so.2
	librt.so.1
	libselinux.so.1
	libsmime3.so
	libssl3.so
	libstdc++.so.6
	libX11.so.6
	libX11-xcb.so.1
	libxcb-shm.so.0
	libxcb.so.1
	libXcomposite.so.1
	libXcursor.so.1
	libXdamage.so.1
	libXext.so.6
	libXfixes.so.3
	libXi.so.6
	libXrender.so.1
	libXt.so.6
	libz.so.1
	linux-vdso.so.1

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1076 bytes --]

  reply	other threads:[~2019-12-11 15:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-11 10:53 bug#38565: Cannot run pre-compiled Firefox Arne Babenhauserheide
2019-12-11 14:05 ` Ricardo Wurmus
2019-12-11 15:56   ` Arne Babenhauserheide [this message]
2019-12-11 15:06 ` Efraim Flashner
2019-12-11 16:07   ` Arne Babenhauserheide
2019-12-11 16:34     ` Arne Babenhauserheide
2020-05-17 13:52     ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zhfyq2j3.fsf@web.de \
    --to=arne_bab@web.de \
    --cc=38565@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.