Skip to content

Local build fails - can't find sd-journal.h #789

Closed
@steveww

Description

Describe the bug
github.com/grafana/loki/vendor/github.com/coreos/go-systemd/sdjournal
vendor/github.com/coreos/go-systemd/sdjournal/journal.go:27:11: fatal error: systemd/sd-journal.h: No such file or directory
// #include <systemd/sd-journal.h>
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

To Reproduce
git pull
go build cmd/promtail

Expected behavior
Successful compile of Promtail

Environment:
Ubuntu 18.04.2
Linux server1 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
go version go1.12.4 linux/amd64

Screenshots, promtail config, or terminal output
If applicable, add any output to help explain your problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions