From owner-freebsd-questions@freebsd.org Tue May 4 15:11:02 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 738646352E9 for ; Tue, 4 May 2021 15:11:02 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4FZNZs2CJjz3Np1 for ; Tue, 4 May 2021 15:11:01 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 3285092292; Tue, 4 May 2021 15:10:54 +0000 (UTC) Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.16.1/8.16.1) with ESMTPS id 144FAr7H019450 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 4 May 2021 15:10:53 GMT (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.16.1/8.16.1/Submit) with ESMTP id 144FArfs019447; Tue, 4 May 2021 15:10:53 GMT (envelope-from doug@fledge.watson.org) Date: Tue, 4 May 2021 15:10:53 +0000 (UTC) From: doug Reply-To: doug@safeport.com To: Harry Schmalzbauer cc: freebsd-questions@freebsd.org Subject: Re: Candidate for most silly question, but here it goes: In-Reply-To: Message-ID: <26e6ecd0-5ac6-6161-c27d-fd5f152db9dd@fledge.watson.org> References: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4FZNZs2CJjz3Np1 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of doug@fledge.watson.org has no SPF policy when checking 204.107.128.30) smtp.mailfrom=doug@fledge.watson.org X-Spamd-Result: default: False [-0.19 / 15.00]; HAS_REPLYTO(0.00)[doug@safeport.com]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[watson.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.81)[0.807]; SPAMHAUS_ZRD(0.00)[204.107.128.30:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[204.107.128.30:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; 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:11288, ipnet:204.107.128.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] 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:11:02 -0000 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