Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2021 10:35:11 -0500
From:      Valeri Galtsev <galtsev@kicp.uchicago.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Candidate for most silly question, but here it goes:
Message-ID:  <941cb3d0-c275-1339-9f43-200c12b4502b@kicp.uchicago.edu>
In-Reply-To: <26e6ecd0-5ac6-6161-c27d-fd5f152db9dd@fledge.watson.org>
References:  <dfdb1b7a-2c23-145b-a775-668d82ae931b@omnilan.de> <26e6ecd0-5ac6-6161-c27d-fd5f152db9dd@fledge.watson.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


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

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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?941cb3d0-c275-1339-9f43-200c12b4502b>