Can not run on the latest Arch.
YACReaderLibrary: error while loading shared libraries: libicuuc.so.68: cannot open shared object file: No such file or directory
| Git Clone URL: | https://aur.archlinux.org/yacreader.git (read-only, click to copy) |
|---|---|
| Package Base: | yacreader |
| Description: | Headless YACReaderLibrary server for use with YACReader for iOS. |
| Upstream URL: | http://www.yacreader.com |
| Keywords: | cbr cbz comic pdf reader |
| Licenses: | GPL-3.0-only |
| Conflicts: | yacreader-bin, yacreader-git, yacreaderlibraryserver-standalone |
| Submitter: | selmf |
| Maintainer: | selmf |
| Last Packager: | selmf |
| Votes: | 47 |
| Popularity: | 1.53 |
| First Submitted: | 2014-07-06 15:35 (UTC) |
| Last Updated: | 2026-05-12 09:08 (UTC) |
Can not run on the latest Arch.
YACReaderLibrary: error while loading shared libraries: libicuuc.so.68: cannot open shared object file: No such file or directory
@jamesburg your libpdfium-nojs package is built against an older version of the icu package. Rebuild it and it should work again.
I'm getting these errors when I try to build and install:
/usr/bin/ld: warning: libicuuc.so.64, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so: undefined reference to `u_isalnum_64'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so: undefined reference to `u_isalpha_64'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so: undefined reference to `u_isspace_64'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so: undefined reference to `u_tolower_64'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so: undefined reference to `u_toupper_64'
collect2: error: ld returned 1 exit status
Thank you very much!
Download, build, install: everything working fine. Thank you very much!
Sorry for the broken upload. YACReader switched to using CI and the "extension" is a build stamp. Having this popping up in a stable source tarball and contaminating paths isn't exactly optimal, so there probably is room for improvement and I think the next versions will use a scheme that is more compatible with packaging and semantic version. For now I have implemented a solution close to @saturn_knights suggestion (thanks!). Let me know if this still gives you trouble.
Yes, the version numbering has changed and the generated URL is no longer valid. The 1909283 extension is not part of the folder path, so it will need to be moved to another variable. e.g.
pkgver=9.6.2
_pkgext=1909283
source=( "https://github.com/YACReader/yacreader/releases/download/${pkgver}/yacreader-${pkgver}.${_pkgext}-src.tar.xz")
Github adress seems to be invalid
Ok, I will keep using libpdfium-nojs then, thanks again!
Pinned Comments
selmf commented on 2021-05-24 11:17 (UTC)
Important: If you are having troubles compiling or launching YACReader and libicuuc is part of the error message, you need to rebuild libpdfium!