Closed chowbok closed 1 year ago
It should work now, I made some changes.
$ GOPROXY=direct go install github.com/gen2brain/cbconvert/cmd/cbconvert@latest
go: downloading github.com/gen2brain/cbconvert v0.0.0-20221208113838-2b2788ed6e72
go: downloading github.com/gen2brain/cbconvert/cmd/cbconvert v0.0.0-20221208113838-2b2788ed6e72
$ ldd $GOBIN/cbconvert
linux-vdso.so.1 (0x00007fff6ddb0000)
libm.so.6 => /lib64/libm.so.6 (0x00007f8715658000)
libheif.so.1 => /usr/lib64/libheif.so.1 (0x00007f87155bf000)
libMagickWand-7.Q16.so.10 => /usr/lib64/libMagickWand-7.Q16.so.10 (0x00007f87154ae000)
libMagickCore-7.Q16.so.10 => /usr/lib64/libMagickCore-7.Q16.so.10 (0x00007f87152a1000)
libc.so.6 => /lib64/libc.so.6 (0x00007f87150c3000)
/lib64/ld-linux-x86-64.so.2 (0x00007f871575c000)
libaom.so.3 => /usr/lib64/libaom.so.3 (0x00007f8714b60000)
libde265.so.0 => /usr/lib64/libde265.so.0 (0x00007f8714ada000)
libx265.so.199 => /usr/lib64/libx265.so.199 (0x00007f8713b54000)
libdav1d.so.6 => /usr/lib64/libdav1d.so.6 (0x00007f871398d000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6 (0x00007f871376f000)
libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/12/libgcc_s.so.1 (0x00007f871374f000)
libfreetype.so.6 => //usr/lib64/libfreetype.so.6 (0x00007f8713685000)
libxml2.so.2 => //usr/lib64/libxml2.so.2 (0x00007f871351e000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f871350b000)
libz.so.1 => /lib64/libz.so.1 (0x00007f87134f1000)
libltdl.so.7 => //usr/lib64/libltdl.so.7 (0x00007f87134e5000)
libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f87134ac000)
libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f87133a4000)
libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f871337e000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f8713246000)
libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x00007f87131aa000)
You should also add -tags extlib
, to use the shared MuPDF library, then it will show libjpeg in ldd output. That is probably the reason for https://github.com/gen2brain/cbconvert/issues/10.
Works great now, thanks!
(By the way, you may want to update your thumbnailer definition in the docs; the mimetypes for comic book files now are "application/vnd.comicbook+zip" and "application/vnd.comicbook-rar").
I get the following error when I run "go install github.com/gen2brain/cbconvert/cmd/cbconvert@latest":