Delphi FMX Linux Platform and REST Components (Mismatch)

  

When I add rest libraries to my project and work in linux environment, I get an error like the one below.

[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\ld-linux.exe: error: cannot find -lcurl
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_global_init(int): error: undefined reference to ‘curl_global_init’
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_global_cleanup(): error: undefined reference to ‘curl_global_cleanup’
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_slist_append(curl_slist*, char*): error: undefined reference to ‘curl_slist_append’
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_slist_free_all(curl_slist*): error: undefined reference to ‘curl_slist_free_all’
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_strerror(CURLcode): error: undefined reference to ‘curl_easy_strerror’
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_init(): error: undefined reference to ‘curl_easy_init’
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_setopt(void*, CURLoption): error: undefined reference to ‘curl_easy_setopt’
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_perform(void*): error: undefined reference to ‘curl_easy_perform’
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_cleanup(void*): error: undefined reference to ‘curl_easy_cleanup’
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_getinfo(void*, CURLINFO): error: undefined reference to ‘curl_easy_getinfo’
c:\program files (x86)\embarcadero\studio\20.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_duphandle(void*): error: undefined reference to ‘curl_easy_duphandle’

This application is working without Rest library on linux.
My delphi version RIO 13.3 and Linux platform is Ubuntu 18.4. Have you ever seen this problem before?

Comments are closed.