question

chrissalvo-4783 avatar image
0 Votes"
chrissalvo-4783 asked JayaC-MSFT answered

Error : Unable to load DLL 'libgmp-10.dll' when testing azure function c# .net 5.0

I published my c# .NET 5.0 code to azure functions (windows) and im getting this weird error message:

 2021-06-21T01:56:53.465 [Error] Executed 'Function1' (Failed, Id=fdefdbba-49a7-44ad-8082-841d2941d90b, Duration=169ms)Unable to load DLL 'libgmp-10.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)



107397-image.png


I tried to see the \wwwroot files on the azure functions console but then i get this error:

  3 [main] ls (8392) C:\Program Files\Git\usr\bin\ls.exe: *** fatal error - Couldn't set directory to \\?\PIPE\ temporarily.





dotnet-csharpazure-functions
image.png (38.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JayaC-MSFT avatar image
0 Votes"
JayaC-MSFT answered

Hello @chrissalvo-4783, This issue is discussed here: https://stackoverflow.com/questions/68061552/error-unable-to-load-dll-libgmp-10-dll-when-testing-azure-function-c-sharp
[Redirecting to the channel to avoid repetitive discussion]

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.