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

Unable to inspect VM #60

Open
rishabhkemni opened this issue Nov 26, 2020 · 1 comment
Open

Unable to inspect VM #60

rishabhkemni opened this issue Nov 26, 2020 · 1 comment

Comments

@rishabhkemni
Copy link

I have already installed libguestfs and also downloaded libguestfs.org/guestfs

when i try to run inspect-vm.go file initially was getting error of -lguestfs not found in /usr/bin/ld

Secondly when tried resolving this encontered new error
"go build libguestfs.org/guestfs: invalid flag in #cgo CFLAGS: -UGUESTFS_NO_DEPRECATED"

Any help or advice is appreciable!

@nertpinx
Copy link
Contributor

nertpinx commented Jan 5, 2021

@rishabhkemni libguestfs does not really use issues and PRs in github, so it is best to send questions and patches to libguestfs ML: https://www.redhat.com/mailman/listinfo/libguestfs

Anyway I think that to get -lguestfs working you need to have libguestfs installed in the system together with the development files. Depending on the distribution used this might be called libguestfs-dev, libguestfs-devel or something similar.

Try doing that, then continue with your build as usual and hopefully everything will go well. If not, then gather all the information about your build, ideally create the smallest possible reproducer and follow up on the mailing list.

If there is a legitimate bug you can also create a bug in a bugzilla: https://bugzilla.redhat.com

Have a nice day.

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