go 编译ollama的时候报错:open /dev/null: no such file or directory
创始人
2025-01-10 07:04:39
0

go 编译ollama的时候报错:open /dev/null: no such file or directory

github.com/xtgo/set: /root/work/go/pkg/tool/linux_amd64/compile: open /dev/null: no such file or directory
gonum.org/v1/gonum/blas/gonum: /root/work/go/pkg/tool/linux_amd64/compile: open /dev/null: no such file or directory
vendor/golang.org/x/text/transform: /root/work/go/pkg/tool/linux_amd64/compile: open /dev/null: no such file or directory
golang.org/x/text/transform: /root/work/go/pkg/tool/linux_amd64/compile: open /dev/null: no such file or directory
syscall: /root/work/go/pkg/tool/linux_amd64/asm: open /dev/null: no such file or directory
 

解决方法

创建/dev/null

尝试直接手工创建

mknode -m 666  /dev/null  c 1 3 

创建失败,说是没权限。

用了另外一种办法

把FreeBSD系统的null cp到jammy里

cd /dev   cp null  /compat/ubuntu/dev/  # 权限改成666   chmod 666 /compat/ubuntu/dev/null

相关内容

热门资讯

透视讲解!wepoker辅助软... 透视讲解!wepoker辅助软件价格(透视)wepoker能不能透视(切实真的有挂)wepoker辅...
透视计算!德州透视脚本(透视)... 透视计算!德州透视脚本(透视)黑科技教程(2020已更新)(哔哩哔哩)1、用户打开应用后不用登录就可...
透视苹果版!wepoker透视... 透视苹果版!wepoker透视脚本(透视)辅助是真的假的(原来是有挂)1、点击下载安装,wepoke...
透视插件!wepokerplu... 透视插件!wepokerplus脚本(透视)wepoker是不是有人用挂(都是有挂)1、wepoke...
透视挂!pokermaster... 透视挂!pokermaster脚本(透视)必胜教程(2022已更新)(哔哩哔哩);1、pokerma...
透视ai代打!wepoker透... 透视ai代打!wepoker透视脚本免费使用视频(透视)辅助透视软件(一直真的是有挂)1、首先打开w...
透视脚本!WePoKer辅助器... 透视脚本!WePoKer辅助器(透视)wepoker脚本下载(竟然是有挂)1、下载好wepoker脚...
透视好友!wepoker有没有... 透视好友!wepoker有没有机器人(透视)有机器人(都是有挂)1、让任何用户在无需wepoker有...
透视存在!哈糖大菠萝有挂吗(透... 透视存在!哈糖大菠萝有挂吗(透视)可靠技巧(2023已更新)(哔哩哔哩);哈糖大菠萝有挂吗辅助器中分...
透视ai!wepokerplu... 透视ai!wepokerplus到底是挂了吗(透视)wepoker私人局透视教程(总是存在有挂);1...