As I wrote above I did the commands for the Pi that are listed in post 1
installing the curl again shows I have already the latest installed but it still can't find the source or resourse file.
pi@raspberrypi:/usr/include $ sudo apt-get install -y libcurl4-openssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcurl4-openssl-dev is already the newest version (7.64.0-4+deb10u6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.