Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Zotero (Read 396 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Zotero

Hello, I am trying to install Zotero from yay without success.
The last lines of building process are:
Code: [Select]
Submodule path 'chrome/content/zotero/locale/csl': checked out 'd704bf80afe8a692373e11f670b08553b9f74a31'
Submodule path 'chrome/content/zotero/xpcom/translate': checked out 'fcb7b8ae9500be2c7c29e4306400f82fe21c5656'
Submodule path 'chrome/content/zotero/xpcom/utilities': checked out 'b93f16dba48383891c0ab4627cbaa303de5c7fa0c0'
Submodule path 'note-editor': checked out '076f5b3d360d3609051b9cba3cd68c4bb22746187834'
Submodule path 'pdf-reader': checked out '590af780053f198838c0f3b4afa3f197ef45453e'
Submodule path 'pdf-worker': checked out 'ab37454b0fc064a572b0e16126f0caa991647406'
Submodule path 'resource/SingleFile': checked out '999976a20afb51a18da4abb42f434eac99796e84'
Submodule path 'resource/schema/global': checked out '1b12272d44134a652519e9192e5a936ac9fcd707'
Submodule path 'styles': checked out '1a293a84285ffae2e85476d8a4e90118fc15602d'
Submodule path 'translators': checked out 'b4829b4bfa2c6225a362ffb2930d8716a0ede312'
Submodule 'pdf.js' (https://github.com/zotero/pdf.js.git) registered for path 'pdf.js'
Cloning is done inside '/.cache/yay/zotero/src/zotero-client/pdf-reader/pdf.js'...
completed.
Submodule path 'pdf.js': checked out 'fdde9578b82eecb1025c07ec07012d00853b8ebe'
Submodule 'pdf.js' (https://github.com/zotero/pdf.js.git) registered for path 'pdf.js'
Cloning is done inside /.cache/yay/zotero/src/zotero-client/pdf-worker/pdf.js'...
completed.
Submodule path 'pdf.js': checked out 'd05c49ce75e0d19fa297c28f62a53f04981ec747'
node: error while loading shared libraries: libicui18n.so.71: cannot open shared object file: No such file or directory
==> ERROR: Failure in prepare().
    Cancel....
 -> error making: zotero-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
zotero - exit status 4
maybe something with  libicui18n.so.71?

Code: [Select]
yay libicui18n
2 system/icu 72.1-2 (11.0 MiB 40.6 MiB) (Installed)
    International Components for Unicode library
1 lib32/lib32-icu 72.1-2 (10.3 MiB 35.5 MiB) (Installed)
    International Components for Unicode library (32 bit)
==> Packages to install (eg: 1 2 3, 1-3 or ^4)


Re: Zotero

Reply #1
I just built it with the files from the AUR no problem.

As the error shows node is failing to find libicui18n.so.71

On my system node links to libicui18n.so.72
Quote
ldd /usr/bin/node
        linux-vdso.so.1 (0x00007ffcb6fbd000)
        libnode.so.111 => /usr/bin/../lib/libnode.so.111 (0x00007f4f53400000)
        libc.so.6 => /usr/bin/../lib/libc.so.6 (0x00007f4f53219000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f4f531ff000)
        libuv.so.1 => /usr/lib/libuv.so.1 (0x00007f4f531ce000)
        libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f4f531c0000)
        libbrotlienc.so.1 => /usr/lib/libbrotlienc.so.1 (0x00007f4f5311c000)
        libcares.so.2 => /usr/lib/libcares.so.2 (0x00007f4f53103000)
        libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007f4f530d7000)
        libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007f4f52c00000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x00007f4f52b60000)
        libicui18n.so.72 => /usr/lib/libicui18n.so.72 (0x00007f4f52800000)
        libicuuc.so.72 => /usr/lib/libicuuc.so.72 (0x00007f4f52400000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f4f52000000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f4f52718000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f4f530b7000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f4f568c9000)
        libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f4f53094000)
        libicudata.so.72 => /usr/lib/libicudata.so.72 (0x00007f4f50200000)

Do a full system update and try again.

Re: Zotero

Reply #2
Code: [Select]
ldd /usr/bin/node
        linux-vdso.so.1 (0x00007ffeb9b62000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f632914a000)
        libuv.so.1 => /usr/lib/libuv.so.1 (0x00007f6329119000)
        libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f632910b000)
        libbrotlienc.so.1 => /usr/lib/libbrotlienc.so.1 (0x00007f6329067000)
        libcares.so.2 => /usr/lib/libcares.so.2 (0x00007f632904e000)
        libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007f6329022000)
        libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f6327000000)
        libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f632736b000)
        libicui18n.so.71 => not found
        libicuuc.so.71 => not found
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f6326c00000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f6326f18000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f6328ffe000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f6326a19000)
        libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f6327348000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f632919d000)

strange...my system is up to date...

Re: Zotero

Reply #3
This is my output for the package info for nodejs and the package which provides the two missing libs (icu)
Code: [Select]
❯ pacman -Qi nodejs
Name            : nodejs
Version         : 19.9.0-1
Description     : Evented I/O for V8 javascript
Architecture    : x86_64
URL             : https://nodejs.org/
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : brotli  openssl  zlib  icu  libuv  libnghttp2  c-ares
Optional Deps   : npm: nodejs package manager [installed]
Required By     : coffeescript  node-gyp  nodejs-nopt  npm  semver
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 55.35 MiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Tue 18 Apr 2023 07:08:14 BST
Install Date    : Wed 19 Apr 2023 10:49:41 BST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature


~/Files                                                                                                           21:18:53
❯ pacman -Qi icu
Name            : icu
Version         : 72.1-2
Description     : International Components for Unicode library
Architecture    : x86_64
URL             : https://icu.unicode.org
Licenses        : custom:icu
Groups          : None
Provides        : libicudata.so=72-64  libicui18n.so=72-64  libicuio.so=72-64  libicutest.so=72-64  libicutu.so=72-64
                  libicuuc.so=72-64
Depends On      : gcc-libs  sh
Optional Deps   : None
Required By     : boost-libs  calibre  harfbuzz-icu  lib32-icu  libcdr  libical  libmspub  libreoffice-fresh  libvisio
                  libxml2  mongo-c-driver  nodejs  raptor  smbclient  thunderbird  tor-browser  tracker3
                  ungoogled-chromium  webkit2gtk  webkit2gtk-4.1
Optional For    : tesseract  xfsprogs
Conflicts With  : None
Replaces        : None
Installed Size  : 40.59 MiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Thu 17 Nov 2022 20:43:07 GMT
Install Date    : Sat 26 Nov 2022 14:02:09 GMT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
Try the same commands and compare.

Re: Zotero

Reply #4
Code: [Select]
pacman -Qi nodejs
Name : nodejs-lts-erbium
Version : 12.22.12-2
Description : Evented I/O for V8 javascript (LTS release: Erbium)
Architecture : x86_64
URL : https://nodejs.org/
Licenses : MIT
Groups : None
Provides : nodejs=12.22.12
Depends on : openssl zlib icu libuv c-ares c-ares brotli libnghttp2
Optional dependencies : npm: nodejs package manager [installed]
Required by : node-gyp nodejs-nopt npm semver yarn
Optional dependency on : None
Conflict with : nodejs
Replaces : None
Installation size : 28.58 MiB
Package Manager : Artix Build Bot <[email protected]>
Build date : Fri Apr 15, 2022 12:26:15 AM EEST
Installation date : Sat 03 Sep 2022 02:24:57 PM EEST
Reason for installation : Installed as a dependency of another package
Installation command script : No
Authenticated by : Signature


Code: [Select]
pacman -Qi icu

Name : icu
Version : 72.1-2
Description : International Components for Unicode library
Architecture : x86_64
URL : https://icu.unicode.org
Licenses : custom:icu
Groups : None
Provides : libicudata.so=72-64 libicui18n.so=72-64 libicuio.so=72-64
                               libicutest.so=72-64 libicutu.so=72-64 libicuuc.so=72-64
Depends on : gcc-libs sh
Optional dependencies : None
Required by : boost-libs boost174-libs electron gspell harfbuzz-icu lib32-icu libcdr
                               libical libmspub libmspub libreoffice-fresh libvisio libxml2 nodejs-lts-erbium
                               raptor smbclient thunderbird tracker3 webkit2gtk webkit2gtk-4.1
Optional dependency on : qt4 tesseract xfsprogs
Conflict with : None
Replaces : None
Installation size : 40,59 MiB
Package Manager : Artix Build Bot <[email protected]>
Build Date : Thu Nov 17, 2022 10:43:07 PM EET
Installation date : Fri Nov 25, 2022 02:39:29 PM EET
Reason for installation : Installed as a dependency of another package
Installation command script : No
Validated by : Signature

 

Re: Zotero

Reply #5
Well there you go. nodejs-lts-erbium reached EOL in April 2022. It's not in the Arch repos anymore and it needs to get removed from Artix's repos. Consider using the nodejs package or upgrading to an LTS release that is still being maintained.