I did some additional research on this after the discussion in the comments. From the looks of it, there's likely no easy solution. There are, however, some possible solutions.
As far as I can tell, the last time that libcurl3-dev
was included in Ubuntu was 16.04, which also seems to be the last time anyone tried to build the SyntaxNet-compatible TensorFlow on Ubuntu. At this point, of course, both 16.04 and 18.04 are out of support, but 16.04 seemed to be the target, while you are trying under 18.04.
As far as I can tell, you have three options:
The "easiest" might be to download the 16.04 Docker image and import it into WSL, with the understanding that it hasn't been updated in over 2 years and has a number of known vulnerabilities. As far as I can tell, libcurl3
was the default version in 16.04.
Of course, you may run into other issues with it being an older, unsupported build, but since you are trying to compile an older, unsupported SyntaxNet/TensorFlow, it might still be the easiest path.
Alternatively, you could go to the opposite end of the spectrum and try to build with a supported version of Ubuntu, preferably 22.04 as the latest LTS release. Then try adapting this Ask Ubuntu answer that was originally written around installing libcurl3-dev
on 18.04. The packages for 18.04 are now gone (again, unsupported), but they are still listed for the "in support" releases.
Again, you may run into other issues here as well with the newer package versions in Ubuntu 22.04 (or even 20.04). However, since you would then be on a supported release, it would be easier to get help on these topics on Ask Ubuntu.
Finally, and just pie-in-the-sky, you could try to update the older TensorFlow build to use libcurl4
. Whether or not this is feasible, I simply do not know.
Also, as mentioned in my previous answer, keep in mind that WSL1 does not support GPU-accelerated (DirectML) TensorFlow. However, SyntaxNet may not need GPU-acceleration, and it sounds like your system may not have a GPU in the first place.