Reset command : avrdude -c gpio -p m328p

Trying to run this command but keep getting the error :

avrdude: error while loading shared libraries: cannot open shared object file: No such file or directory

Can someone tell me what did I do wrong? I’ve seen this error sometimes on .py files I try and run as well.