Date: Tue, 4 May 2021 16:56:41 +0100 From: Arthur Chance <freebsd@qeng-ho.org> To: Harry Schmalzbauer <freebsd@omnilan.de>, freebsd-questions@freebsd.org Subject: Re: Candidate for most silly question, but here it goes: Message-ID: <5179fe2e-d138-c223-d847-4b5a3ef3bdb9@qeng-ho.org> In-Reply-To: <dfdb1b7a-2c23-145b-a775-668d82ae931b@omnilan.de> References: <dfdb1b7a-2c23-145b-a775-668d82ae931b@omnilan.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/05/2021 08:40, Harry Schmalzbauer wrote: > Hi! > > #> file /usr/lib/libc.so > /usr/lib/libc.so: ASCII text > > > #> cat /usr/lib/libc.so > /* $FreeBSD$ */ > GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a ) > > > Does this make sense in any way? > > Accidentally stumbled across while trying out thunderbird, which claims: > JavaScript error: resource:///modules/CLib.jsm, line 46: Error: couldn't > open library libc.so: /usr/lib/libc.so: invalid file format > > > Thanks for hints (I have some brief knwoledge about dynamically linked > binaries, but I'm not aware of linker hints - which is what I see to my > understanding). I have no idea about /usr/lib/libc.so but libc is actually in /lib. On my 12.2-REL system root@nas:0# file /lib/libc.so* /lib/libc.so.7: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped -- Lebowskisort, aka dudesort, an O(1) sorting algorithm: "Man, the array is cool as it is. Let's go bowling."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5179fe2e-d138-c223-d847-4b5a3ef3bdb9>