From owner-freebsd-questions@freebsd.org Tue May 4 15:35:19 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C2DB6360B5 for ; Tue, 4 May 2021 15:35:19 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4FZP6t2tMzz3QKw for ; Tue, 4 May 2021 15:35:18 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id F09304E6A3 for ; Tue, 4 May 2021 10:35:11 -0500 (CDT) Subject: Re: Candidate for most silly question, but here it goes: To: freebsd-questions@freebsd.org References: <26e6ecd0-5ac6-6161-c27d-fd5f152db9dd@fledge.watson.org> From: Valeri Galtsev Message-ID: <941cb3d0-c275-1339-9f43-200c12b4502b@kicp.uchicago.edu> Date: Tue, 4 May 2021 10:35:11 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <26e6ecd0-5ac6-6161-c27d-fd5f152db9dd@fledge.watson.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FZP6t2tMzz3QKw X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [-2.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.135.20.70:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[128.135.20.70:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2021 15:35:19 -0000 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 ++++++++++++++++++++++++++++++++++++++++