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

VipsOperation: class "jpegload_buffer" not found #93

Closed
dcnug opened this issue Dec 27, 2019 · 2 comments
Closed

VipsOperation: class "jpegload_buffer" not found #93

dcnug opened this issue Dec 27, 2019 · 2 comments

Comments

@dcnug
Copy link

dcnug commented Dec 27, 2019

go run cmd/examples/resize/resize.go -in assets/fixtures/canyon.jpg -out cmd/examples/build/resize-canyon.jpg
2019/12/27 23:52:26 Vips started with concurrency=1 cache_max_files=100 cache_max_mem=104857600 cache_max=500
2019/12/27 23:52:26 Registered image type loader type=gif
2019/12/27 23:52:26 Registered image type loader type=jpeg
2019/12/27 23:52:26 Registered image type loader type=magick
2019/12/27 23:52:26 Registered image type loader type=pdf
2019/12/27 23:52:26 Registered image type loader type=png
2019/12/27 23:52:26 Registered image type loader type=svg
2019/12/27 23:52:26 Registered image type loader type=tiff
2019/12/27 23:52:26 Registered image type loader type=webp
2019/12/27 23:52:26 VipsOperation: class "jpegload_buffer" not found

Stack:
goroutine 1 [running]:
runtime/debug.Stack(0x7f5c2ba02680, 0xc0000ac040, 0x31)
/usr/local/go/src/runtime/debug/stack.go:24 +0x9d
github.com/davidbyttow/govips/pkg/vips.handleVipsError(0x0, 0x0)
/home/tlab-n023/go/src/github.com/davidbyttow/govips/pkg/vips/bridge.go:474 +0x9e
github.com/davidbyttow/govips/pkg/vips.vipsLoadFromBuffer(0xc000146000, 0x703b3, 0x7fe00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/tlab-n023/go/src/github.com/davidbyttow/govips/pkg/vips/bridge.go:150 +0x1ae
github.com/davidbyttow/govips/pkg/vips.(*Transform).importImage(0xc0000b7ef8, 0x4f9928, 0xc0000b7ef8, 0x0, 0x4f9d58)
/home/tlab-n023/go/src/github.com/davidbyttow/govips/pkg/vips/transform.go:384 +0xe2
github.com/davidbyttow/govips/pkg/vips.(*Transform).Apply(0xc0000b7ef8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/tlab-n023/go/src/github.com/davidbyttow/govips/pkg/vips/transform.go:352 +0xa3
main.resize(0x7ffecae5b1c0, 0x1a, 0x7ffecae5b1e0, 0x24, 0x0, 0x0)
/home/tlab-n023/go/src/govips/cmd/examples/resize/resize.go:38 +0x1dd
main.main()
/home/tlab-n023/go/src/govips/cmd/examples/resize/resize.go:25 +0xd4

@aureleoules
Copy link

Try building libvips from a GitHub release.

@tonimelisma
Copy link
Collaborator

Hey @dcnug and @aureleoules we've made major upgrade to govips. The API has changed and the requirement is now libvips 8.10. README has instructions on how to easily install dependencies. Apologies for the long delay. Hope the new version works well for you - please comment or reopen if there's any issues!

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

3 participants