Hey Mark,
I dunno if you still want a bit of code for this particular example.
If not, just ignore my post and All's good.
If you still want it, I've cobbled up a pure RTL version of the resource loading of a very simple shell script into a string and then shoving it into a TMemo, but you'll notice that I have it on a string, so the memo is just for visual aid.
I include the shell script and if you press CTRL+SHIT+F11 and click on the Resources item you'll find where I'm adding the resource and where I define it's name and type.
Hope this helps in any form or shape.
Cheers,
Gus
Edit:
Completely forgot to mention that this is from the stable version of Lazarus/FPC which is 2.0.12/3.2.2 on an Ubuntu 21.04.
My Install is via fpcupdeluxe and I've not added any of the resource linkers mentioned.
But I do have to admit that I don't know what resource builder it uses and if it was installed by fpcupdeluxe or it comes by default with Ubuntu.
I, personally, did nothing to install a resource builder.