From 8e9269bdc716e889c984909f87392e31ffaa8dc8 Mon Sep 17 00:00:00 2001 From: Lazy Nina Date: Mon, 18 Mar 2024 20:27:15 -0400 Subject: [PATCH] trigger build --- README.md | 12 ++++++++++++ go.mod | 1 + go.sum | 3 +++ 3 files changed, 16 insertions(+) diff --git a/README.md b/README.md index caa33659..63d552d6 100644 --- a/README.md +++ b/README.md @@ -71,3 +71,15 @@ go build github.com/h2non/bimg: invalid flag in pkg-config --cflags: -Xpreproces ``` export CGO_CFLAGS_ALLOW="-Xpreprocessor" ``` + +#### Error +``` +ld: library not found for -lvips +clang: error: linker command failed with exit code 1 (use -v to see invocation) +``` + +#### Solution + +``` +go clean -cache +``` \ No newline at end of file diff --git a/go.mod b/go.mod index 899bb2b9..eb46ff87 100644 --- a/go.mod +++ b/go.mod @@ -69,6 +69,7 @@ require ( github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5 // indirect github.com/google/uuid v1.2.0 // indirect github.com/googleapis/gax-go/v2 v2.0.5 // indirect + github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/imdario/mergo v0.3.8 // indirect github.com/inconshreveable/mousetrap v1.0.0 // indirect diff --git a/go.sum b/go.sum index aac1b9f1..aab30020 100644 --- a/go.sum +++ b/go.sum @@ -327,6 +327,9 @@ github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c= +github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= +github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=