I have my phone connected to my laptop via the USB cable and ADB is able to identify the device. When I run adb devices it returns the phone in the list of connected devices. Running the command adb shell now gives an error stating:

reloc_library cannot locate 'fdatasync'

Running any command on the terminal emulator installed on my phone also returns the same error.