In Delphi XE8 if you only install Delphi and not C++Builder you may be missing some static library files for IOS64 including libsqlite.a. This does not effect IOS32. There are other missing static library files so if you get an E2587 error for another file you can also try this workaround. If you go to compile and receive a similar error then you are missing the files:
[DCC Error] E2597 ld: file not found: libsqlite.a.
The workaround is that if you own RAD Studio XE8 then installing C++Builder will also install the required files. If you only have Delphi XE8 then I believe you may get these files if you install the C++Builder trial. I haven’t actually tested this but it seems like it should work. Alternately you could also download the RAD Studio XE8 trial and install the C++Builder side that way. If you do use the RAD Studio XE8 trial to install C++Builder be sure to have BOTH check boxes checked. If you uncheck Delphi XE8 it will uninstall it. You may also be able to contact Embarcadero support and get the files from them.
Head over to the Embarcadero website to install the C++Builder XE8 free trial or the RAD Studio XE8 free trial.
Update: Here are the missing files in a download from Embarcadero CodeCentral.