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

ubuntu 2022.04 编译host image编译报错 #5

Closed
nyl1001 opened this issue Dec 18, 2023 · 1 comment
Closed

ubuntu 2022.04 编译host image编译报错 #5

nyl1001 opened this issue Dec 18, 2023 · 1 comment

Comments

@nyl1001
Copy link

nyl1001 commented Dec 18, 2023

报错信息如下:make image host-image VERSION=v3.10.8
mkdir -p /root/cloudpods/_output

Start to build component: host-image
make[1]: Entering directory '/root/cloudpods'
go build -mod vendor -ldflags "-w -X yunion.io/x/pkg/util/version.gitVersion=master-20230911.0-497-g4cb021916520a5 -X yunion.io/x/pkg/util/version.gitCommit=4cb0219165 -X yunion.io/x/pkg/util/version.gitBranch=master -X yunion.io/x/pkg/util/version.buildDate=2023-12-18T02:09:41Z -X yunion.io/x/pkg/util/version.gitTreeState=dirty -X yunion.io/x/pkg/util/version.gitMajor=0 -X yunion.io/x/pkg/util/version.gitMinor=0" -o /root/cloudpods/_output/bin/host-image yunion.io/x/onecloud/cmd/host-image

runtime/cgo

/usr/bin/ld: cannot find -lqemuio: No such file or directory
/usr/bin/ld: cannot find -lgnutls: No such file or directory
/usr/bin/ld: cannot find -lqemuio: No such file or directory
/usr/bin/ld: cannot find -lgnutls: No such file or directory

本人参照https://github.com/yunionio/qemu 编译了qemu,LIBQEMUIO_PATH也指向了qemu根目录,但是编译依然报上述错误,尝试安装了各种依赖包,依然不能解决问题。

@zexi
Copy link
Member

zexi commented Dec 25, 2023

和这个是相同问题,yunionio/cloudpods#19024

@zexi zexi closed this as completed Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants