This repository was archived by the owner on Jun 2, 2020. It is now read-only.
This repository was archived by the owner on Jun 2, 2020. It is now read-only.
Unable to initialize application with extensions with nightly cargo. #164
Closed
Description
Steps to reproduce
rustup default nightly
.cargo install -f azure-functions-sdk
.cargo func new-app repro
.cargo func new blob -n repro --path repro
.cargo func run
.
Expected behavior
The application starts successfully.
Actual behavior
Initializing the application fails because dotnet
(used to restore the Azure Functions storage extension required for blob triggers) can't find libproc
:
System.DllNotFoundException: Unable to load shared library 'libproc' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibproc, 1): image not found
at Interop.libproc.proc_pidpath(Int32 pid, Byte* buffer, UInt32 bufferSize)
at Interop.libproc.proc_pidpath(Int32 pid)
at System.Diagnostics.Process.ResolvePath(String filename)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Microsoft.DotNet.Cli.Utils.ProcessStartInfoExtensions.Execute(ProcessStartInfo startInfo)
at Microsoft.DotNet.Tools.RestoringCommand.Execute()
at Microsoft.DotNet.Tools.Publish.PublishCommand.Run(String[] args)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)
Environment information (OS, versions, etc.)
Azure Functions for Rust: 0.4.1
OS: macOS 10.14