Closed linonetwo closed 1 year ago
About the critical part:
Try 'libtool --help' for more information.
libtool: error: unrecognised option: '-static'
I tried
% libtool --help
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character `-' in: --help
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
things in https://github.com/nodejs/node/issues/2341#issuecomment-1579929170 and stackoverflow I can found doesn't work.
manually run node_modules/.bin/electron-rebuild -f -w better-sqlite3
works.
https://github.com/nicholas-ochoa/OpenSC2K/issues/33#issuecomment-364652098
This happened every time, maybe post-install script need a fix?
nope just a new release for electron 25 prebuild binaries is missing... https://github.com/WiseLibs/better-sqlite3/pull/1013
Done. Pull in 8.5.0.
Succeed on Windows11, but failed on MacOS13.4.