Candidate for most silly question, but here it goes:

Arthur Chance freebsd at qeng-ho.org
Tue May 4 15:56:57 UTC 2021


On 04/05/2021 08:40, 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).

I have no idea about /usr/lib/libc.so but libc is actually in /lib. On
my 12.2-REL system

root at nas:0# file /lib/libc.so*
/lib/libc.so.7: ELF 64-bit LSB shared object, x86-64, version 1
(FreeBSD), dynamically linked, stripped


-- 
Lebowskisort, aka dudesort, an O(1) sorting algorithm:

"Man, the array is cool as it is. Let's go bowling."


More information about the freebsd-questions mailing list