Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2021 18:09:44 +0200
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To:        Arthur Chance <freebsd@qeng-ho.org>
Cc:        Harry Schmalzbauer <freebsd@omnilan.de>, User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Candidate for most silly question, but here it goes:
Message-ID:  <CAGwOe2Ze1Pz-6pYXdZ1YeX7gYP_A5=3KYi7YwihG9GHjbnJucQ@mail.gmail.com>
In-Reply-To: <5179fe2e-d138-c223-d847-4b5a3ef3bdb9@qeng-ho.org>
References:  <dfdb1b7a-2c23-145b-a775-668d82ae931b@omnilan.de> <5179fe2e-d138-c223-d847-4b5a3ef3bdb9@qeng-ho.org>

next in thread | previous in thread | raw e-mail | index | archive | help
El mar., 4 may. 2021 17:57, Arthur Chance <freebsd@qeng-ho.org> escribi=C3=
=B3:

> 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?
>

It looks like a GNU ld linker script:
https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_chapter/ld_3.html

>
> > 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."
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2Ze1Pz-6pYXdZ1YeX7gYP_A5=3KYi7YwihG9GHjbnJucQ>