Skip to content

What are the dependencies of SEAs? #125

@jannis-baum

Description

@jannis-baum

Hello! My project Vivify relies on Node SEA and I have a CI there that builds the executable which I then publish through Homebrew. What's the correct way of knowing which dependencies my executable will have?

Up until now I've been using whatever Homebrew dependencies the node I use to build it has with brew deps --installed --direct node. However, in the last release this seems to have diverged. The node dependencies were

brotli
c-ares
icu4c@77
libnghttp2
libnghttp3
libngtcp2
libuv
openssl@3
simdjson
sqlite
uvwasi
zstd

but then running my executable leads to

dyld[94172]: Library not loaded: /opt/homebrew/opt/simdutf/lib/libsimdutf.26.dylib
  Referenced from: <D70D595D-7518-36D5-AF8C-376A12B199A4> /opt/homebrew/Cellar/vivify/0.10.0/bin/vivify-server
  Reason: tried: '/opt/homebrew/opt/simdutf/lib/libsimdutf.26.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/simdutf/lib/libsimdutf.26.dylib' (no such file), '/opt/homebrew/opt/simdutf/lib/libsimdutf.26.dylib' (no such file)
zsh: abort      /opt/homebrew/bin/vivify-server

because it apparently also depends on the package simdutf. If I install that it works. How do I find the correct dependencies?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions