Installing wiringpi on RPI 4
I am using the TF02-i LiDAR (SEN0504) and a Raspberry Pi 4 Model B, conected together with a USB to RS485. but i am having issues installing the packages liked on the website, specificaly these lines:
cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb //download wiringpi library
sudo dpkg -i wiringpi-latest.deb //install wiringpi library
And it comes with this error
rpi@raspberrypi:/tmp $ sudo dpkg -i wiringpi-latest.deb //install wiringpi library
(Reading database ... 130736 files and directories curently installed.)
Preparing to unpack wiringpi-latest.deb ...
Unpacking wiringpi:armhf (2.52) over (2.52) ...
dpkg: dependency problems prevent configuration of wiringpi:armhf:
wiringpi:armhf depends on libc6.
dpkg: error processing package wiringpi:armhf (--install):
dependency problems - leaving unconfigured
processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
wiringpi:armhf