zurmokeeper / officecrypto-tool

officecrypto-tool is a library for js that can be used to decrypt and encrypt office(excel/ppt/word) files.
https://www.npmjs.com/package/officecrypto-tool
MIT License
19 stars 4 forks source link

cfb issue #31

Closed sunnyawake5 closed 4 months ago

sunnyawake5 commented 4 months ago

on mac 11.7, when i call officeCrypto.isEncrypted(buffer), the following error occurs: dyld: lazy symbol binding failed: Symbol not found: _ucal_getTimeZoneOffsetFromLocal Referenced from: /Users/xx/.bun/bin/bun (which was built for Mac OS X 12.0) Expected in: /usr/lib/libicucore.A.dylib

it seems cfb.js has some problem with macos 11.x. it also might come form bun. i'm using bun 1.1.20, which need osx 12,my mac version is 11.7

sunnyawake5 commented 4 months ago

i verified it's bun version problem.