Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2021 15:10:53 +0000 (UTC)
From:      doug <doug@fledge.watson.org>
To:        Harry Schmalzbauer <freebsd@omnilan.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Candidate for most silly question, but here it goes:
Message-ID:  <26e6ecd0-5ac6-6161-c27d-fd5f152db9dd@fledge.watson.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 Tue, 4 May 2021, 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).
>
> -harry

I'm pretty sure you arn't the only. At least I'm in the running with you. 
That said on my 12.2-RELEASE-p4 system I get:

cat /usr/lib/libc.so
/* $FreeBSD: releng/12.2/lib/libc/libc.ldscript 258283 2013-11-17 22:52:17Z peter $ */
GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a 
/usr/lib/libssp_nonshared.a )

My guess is that is a way of telling various flavors of firefox which 
dynamic lib to use. In any case that's whats there



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?26e6ecd0-5ac6-6161-c27d-fd5f152db9dd>