Need to update document to clarify which linux distro that autorest supports now.
See original GitHub issueI’m trying to use autorest on “WSL 2 + ubuntu” (the default version in Windows Store is “Ubuntu 20.04.1 LTS”)
Autorest does not work on ubuntu 20.04.1 LTS!
autorest --input-file=petstore.yaml --csharp --output-folder=CSharp_PetStore --namespace=PetStore
...
No usable version of the libssl was found
FATAL: csharp/simplifier - FAILED
FATAL: Error: [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
Process() cancelled due to exception : [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
This forked repository mentioned that autorest supports up to ubuntu 16.04 https://github.com/amarzavery/AutoRest
I tried ubuntu 16.04, and it works, but have to install another package firstly. (it was also mentioned in amarzavery’s repo) sudo apt-get install libunwind8 -y
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Top 7 Best Linux Distros For Laptops - DigitalOcean
In this module, we will have a look at some distros which are best suited for laptops so that you can choose the...
Read more >Choosing the Right Linux Distro - YouTube
Choosing a Linux distribution can be difficult, especially if you don't know much about Linux. However, over the past several years I've ...
Read more >What's new - Azure Sphere | Microsoft Learn
Learn about changes and new features in the latest Azure Sphere release.
Read more >Best Linux Distributions That are Most Suitable for Beginners
Here are our recommendations for the best Linux distributions for beginners. ... Ubuntu has great documentation and community support.
Read more >create a readme file online
Create A Readme File OnlineA ReadMe file is a standard place for instructions or documentation that you want to share with people about...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So are there any plans to update autorest to use LTS version of .NET?
As far as I understand current version of aurorest is using .NET Core SDK 2.0 which has reached end of life more than 2 years ago in 2018 and is not supported by Microsoft any more. So it means that autorest doesn’t work on Ubuntu 20.04 which is now default version for WSL2 and in Microsoft hosted agents in Azure DevOps.
Thanks for pointing this out, it seems like the current release of @microsoft.azure/autorest.csharp is built with an older .NET Core SDK which expects libssl 1.0 where Ubuntu 20 has libssl 1.1 installed. More info can be found here: https://github.com/dotnet/runtime/issues/28079.
I’ll see if I can get a new build of the generator shipped with a newer update of the SDK.