Candidate for most silly question, but here it goes:

Valeri Galtsev galtsev at kicp.uchicago.edu
Tue May 4 15:35:19 UTC 2021



On 5/4/21 10:10 AM, doug wrote:
> 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 )
> 

For over a decade I was so happy running FreeBSD on my servers... And 
today learning all this made a big hole in my feelings. Like discovering 
nonsense, and where: in the base system... The feeling is pretty much 
the same as I had when I started to look where to flee my servers from 
Linux ("lindoze" one of my friends called it then) over a decade ago.

Anybody knows UNIX [descendant] not polluted with files of unexpected 
type for given file extension (found in usual for them place)?

Valeri

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

-- 
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++


More information about the freebsd-questions mailing list