Profile library not found (error -4)

Error-4 means that there’s something wrong with the file which contains the profile library.

In the following some steps are explained what to do: