screenpipe icon indicating copy to clipboard operation
screenpipe copied to clipboard

[bug] Library not loaded when start desktop app which is build from source.

Open peanut996 opened this issue 4 months ago • 6 comments

describe the bug when in vscode terminal build the desktop app, the env var DYLD_LIBRARY_PATH always empty.

So start the app, the core process screenpipe can not start,because of the dynamic lib not loaded.

to reproduce just start as documentation to start build app. Success on my M1 mbp, failed on x64 mbp.

expected behavior should set DYLD_LIBRARY_PATH successfully within screenpipe-vision/lib

system info

  • os: macos 15.0.1
  • screenpipe version: 0.1.95

additional context

ERROR: dyld[33173]: Library not loaded: screenpipe-vision/lib/libscreenpipe_x86_64.dylib
ERROR:   Referenced from: <7D948E25-9BDD-33B0-B0CD-5C07B511636D> /Applications/screenpipe.app/Contents/MacOS/screenpipe
ERROR:   Reason: tried: 'screenpipe-vision/lib/libscreenpipe_x86_64.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSscreenpipe-vision/lib/libscreenpipe_x86_64.dylib' (no such file), 'screenpipe-vision/lib/libscreenpipe_x86_64.dylib' (no such file)

peanut996 avatar Oct 12 '24 18:10 peanut996