Re: ThunderBird and DAV calendars

From: Andrea Venturoli <>
Date: Mon, 13 Dec 2021 07:39:09 UTC
On 12/12/21 23:24, Christoph Moench-Tegeder wrote:
> 9a2174d4e02e does the trick for me.

I was trying to fix this yesterday and came up with an almost identical 

> thunderbird's javascript code needs more than basic DNS resolution
>     (e.g. SRV, TXT, MX lookups) - more than javascript natively has
>     (welcome to the web) and builds it's own bindings for libc to use
>     the resolver(3) interface.

Yes, welcome to the web :-(
When, some years ago, they announced ThunderBird was moving to "web 
technologies" I was worried.
This ugly hack makes me thing I was right.

It's a pity there's no good alternative to TB.

  bye & Thanks

I also see:
> console.error: (new Error("couldn't open library /usr/lib/ invalid file format", "resource:///modules/CLib.jsm", 46))

I don't know what the consequences are, but it's obvious 
modules/CLib.jsm is trying to dlopen (or whatever it's called in JS) 
"libc" (/usr/lib/, which is a text file. Instead it needs to use 
"/lib/" (which is what it does on Linux, BTW).
Then again, this is on FreeBSD 12, but might break with future versions :-[

I also guess "there's no two without three": since this isn't 
centralized somewhere, there are probably other places all around the 
code where such beautiful things happen.