[Users] Unable to Load LiteHtmlViewer Plugin (Using libgumbo2) on v4.1.1git90

Dustin Miller dustbiz at gmail.com
Thu Oct 5 14:02:13 UTC 2023


On Thu, 5 Oct 2023 11:09:11 -0000
Paul <paul at claws-mail.org> wrote:

> On Thu, 5 Oct 2023 16:20:42 +0600
> Dustin Miller <dustbiz at gmail.com> wrote: 
> 
> > DM: So I guess the question is, what's the best resolution for
> > this? ...
> 
> Nothing needs to change in Claws Mail.
> 
> Try setting LD_LIBRARY_PATH before building. For example:
> 
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/
> 
DM: Thanks for this helpful tip, Paul. I went with a more 'sticky'
solution(1), but the TLDR is that once the '/usr/local/' path was
added, then I was able to load the plugin w/o re-building or even
re-starting Claws.

DM: (1) For those who are interested, here is how I added the path:
* ldconfig -p | grep /usr/local/  # To check if path is included.
* Create a new file '/etc/ld.so.conf.d/claws.conf' as root with ‘sudo
  touch /etc/ld.so.conf.d/claws.conf' .
* Open that file with 'xed admin:///etc/ld.so.conf.d/claws.conf' and
  put the following [contents] in it: [/usr/local/].
* Run 'sudo ldconfig' to rebuild the cache. (You can then do the first
  step again to confirm if you want.)

DM: One mistake I made in my troubleshooting was to think that since I
had previously added '/usr/local/lib' as a path, then that should be
sufficient, since that is where the files were that Claws couldn't
find. However, for reasons I don't fully understand, I also needed to
add 'usr/local/'.

DM: The other oddity was that, in the one instance of Claws (where I
first noticed the problem), I had to manually load the plugin, but in
the second instance of Claws (which I hadn't checked to see if it had
the same problem), when I went to manually load the plugin it was
already there. Not sure if it was a difference in config settings or
whether the system and/or Claws periodically 'scan' and 'refresh' these
things so that it loaded automatically by the time I got there to check
it, or ???. In any case, glad to have the issue resolved. 🙂️ Cheers,
---Dustin


More information about the Users mailing list