Check out this video by Mr Sujano, he put a Trollcoin wallet on a Raspberry pi & had similar issues solved. Hope it helps!
"If he's using a Pi 3B+, tell him to watch this video. I encountered a similar issue that has the fix. Hopefully it helps. I haven't ran the wallet on Pi4, but the fix might work as well on that.
https://youtu.be/eMPmgew0aYc