Thank you Joan, your answer works for the Pi4 and put me on the write path and everything is compiling as it should! I upvoted your response but I have less than 15 somethings so it doesn't show up.
FULL SOLUTION FOR 3B+:
sudo dpkg -i ...
A version of wiringPi is probably installed with Raspbian.
I doubt it is included with Ubuntu.
You will probably need to build from source.
You could try installing the binary from the author's site.
sudo dpkg -i wiringpi-latest....