Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deb package to include dotnet prerequisites for ubuntu #468

Closed
asavaritayal opened this issue May 13, 2018 · 3 comments
Closed

Update deb package to include dotnet prerequisites for ubuntu #468

asavaritayal opened this issue May 13, 2018 · 3 comments
Assignees

Comments

@asavaritayal
Copy link
Contributor

From @arerlend on April 30, 2018 19:47

Running with bash via Ubuntu 16.04 subsystem for Windows.

Followed instructions here: https://github.com/Azure/azure-functions-docker-python-sample/wiki/Getting-started-using-Functions-Core-Tools.

Downloaded linux zip file from https://ci.appveyor.com/project/appsvc/azure-functions-cli/build/2.0.1.294/artifacts

Upon using binaries to run func init . --worker-runtime python (or any other call to func), I get the following errors:
Failed to load X{z�, error: libunwind.so.8: cannot open shared object file: No such file or directory
Failed to bind to CoreCLR at '/mnt/c/Users/Administrator/dev/soh-local/func_venv_bash/linux_functions/libcoreclr.so'

Fixed by running apt-get install libunwind8

Copied from original issue: Azure/azure-functions-docker-python-sample#10

@asavaritayal
Copy link
Contributor Author

@ahmelsayed

@ahmelsayed
Copy link
Contributor

there are few dependencies for self contained dotnet apps on Ubuntu. https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x#ubuntu

@watashiSHUN we should add these prerequisites to the deb package to match what dotnet package does.

If you're downloading the binaries directly you should install the prerequisites

@ahmelsayed ahmelsayed changed the title Errors w/ Linux binaries Update deb package to include dotnet prerequisites for ubuntu May 13, 2018
@watashiSHUN watashiSHUN self-assigned this Jun 21, 2018
@watashiSHUN
Copy link
Contributor

libunwind is removed from dotnet core 2.1: PowerShell/PowerShell#6964, so using azure-functions-core-tools >= beta.29 should resolve this issue

@ghost ghost locked as resolved and limited conversation to collaborators Dec 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants