If anyone gets the error "pacdrive: error while loading shared libraries: libhid.so.0: cannot open shared object file: No such file or directory" with Retropie 4.4 on a Raspberry Pi, use this command to fix it:
sudo mv /usr/local/lib/libhid.* /usr/lib/arm-linux-gnueabihf/
It will move the libhid files to the correct location where pacdrive can find them.