![](/img/trans.png)
[英]Segmentation Fault when running dotnet standalone on Raspberry Pi
[英]running dotnet on raspberry pi B with debian does not work
它是原始的 Raspberry pi B,相當古老。 我已經安裝了 Debian 4.19.181-1 (2021-03-19)。 它是一個 armv6l GNU/Linux 系統。
當我嘗試運行 dotnet 時,它總是以./dotnet: No such file or directory
響應
我確保每次使用 chmod +x dotnet 都使其成為可執行文件,並使用 ls -la 檢查它是否可執行,其中顯示-rwxr-xr-x 1 1001 117 59928 Sep 13 2019 dotnet
我已經使用腳本安裝了它,比如這里: https://docs.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
我也嘗試了這種方法(它不應該在我的 32 位系統上工作,但我認為不妨試試): https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian
我似乎找不到任何解決方案。
我認為你應該為此使用 docker。 那里有一些很棒的教程。 https://docs.microsoft.com/en-us/dotnet/core/docker/build-container?tabs=windows
這將簡化一切,這也將允許您稍后將您的應用程序移動到另一個位置。
不要猶豫與我聯系以獲得更多幫助,我最近在 docker 和 dotnet 上工作了很多。
否則,這只是您的環境變量的問題。 當您啟動推薦時,它會嘗試定位 dotnet。 (仍然認為使用 docker 會更容易)。 祝你有美好的一天 !
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.