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

Is there a backport of libsquashfs1 back to focal? building stacker / umoci for Ubuntu focal #18

Open
bogdanbiv opened this issue Aug 19, 2022 · 1 comment

Comments

@bogdanbiv
Copy link

side note: Granted, this is a problem with Ubuntu not having a backported lib from jammy / hirsuite and my use of an outdated Ubuntu install. However, if anyone has any idea, please do share it.

~/Projects/squashfs$ make
go build ./...
go: downloading github.com/urfave/cli/v2 v2.2.0
go: downloading golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d
# pkg-config --cflags  -- libsquashfs1
pkg-config: exec: "pkg-config": executable file not found in $PATH

####
~/Projects/squashfs$ make
go build ./...
# pkg-config --cflags  -- libsquashfs1
Package libsquashfs1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsquashfs1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsquashfs1' found
pkg-config: exit status 1
make: *** [Makefile:17: .build] Error 2

Is there a backport of libsquashfs1 back to focal? I am trying to build umoci in order to build stacker for my Ubuntu Focal.
https://packages.ubuntu.com/search?keywords=squash

@smoser
Copy link
Collaborator

smoser commented Aug 19, 2022

The setup file will get everything necessary. if that does not work on 20.04, or 22.04, we shoudl make that happen.

Then you can just call ./setup /usr/local

For what it is worth, c-i builds on ubuntu-20.04 (see .github/workflows/build.yml)

is there anything else you need here?

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