Missing libbcm_host.so on Rpi4

Hello!
I’m trying to build GitHub - F5OEO/rpitx: RF transmitter for Raspberry Pi and I’m getting “Missing libbcm_host.so” on Rpi4. I’ve tried copying one from firmware/opt/vc/lib at master · raspberrypi/firmware · GitHub but it is not working - “/usr/bin/ld: skipping incompatible /opt/vc/lib/libbcm_host.so”. Can I get some directions what can be done to compile it right!
Thank you!

Those are 32 bit libs and will not work on 64bitOS. You have to compile a 32bit OS.

I’ve managed to find the source for Raspberry’s userland-arm64 and found the needed compilers in /usr/bin/aarch-* on Manjaro’s distribution. The compilation went fine, although the program is not running…