openzim / node-libzim

Libzim binding for Node.js: read/write ZIM files in Javascript
https://www.npmjs.com/package/@openzim/libzim
GNU General Public License v3.0
27 stars 11 forks source link

Feature request: add prebuilt libzim for Linux aarch64 #82

Open zhuowei opened 1 year ago

zhuowei commented 1 year ago

On Fedora 35 for aarch64 (in VMWare Fusion on macOS Apple Silicon), installing node-libzim gives the error:

npm ERR! /usr/bin/ld: /home/zhuowei/mwoffliner/node_modules/@openzim/libzim/download/lib/x86_64-linux-gnu/libzim.so.6: error adding symbols: file in wrong format
npm ERR! collect2: error: ld returned 1 exit status

node-libzim should provide a prebuilt libzim for aarch64 or, if not possible, check for non-x86_64 linux and avoid using the built-in library.

kelson42 commented 1 year ago

This directly depends on https://github.com/kiwix/kiwix-build/issues/528

kelson42 commented 1 year ago

Depends on https://github.com/kiwix/kiwix-build/issues/549