Skip to content

MacOS executable appears to be looking at the wrong location for dylib #6

@dmitry-zaitsev

Description

@dmitry-zaitsev

When running:

./undreamai_server -h

I am getting this output:

dyld[71063]: Library not loaded: @rpath/libundreamai_macos-arm64-acc.dylib
  Referenced from: <02971BFB-67DD-3BF7-B76D-47EF05738393> /Users/dima/projects/llm-server/macos-arm64-acc/undreamai_server
  Reason: tried: '/Users/runner/work/LlamaLib/LlamaLib/build/libs/libundreamai_macos-arm64-acc.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/LlamaLib/LlamaLib/build/libs/libundreamai_macos-arm64-acc.dylib' (no such file), '/Users/runner/work/LlamaLib/LlamaLib/build/libs/libundreamai_macos-arm64-acc.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/LlamaLib/LlamaLib/build/libs/libundreamai_macos-arm64-acc.dylib' (no such file)
[1]    71063 abort      ./undreamai_server -m  --port 3001

The dylib file in question does exist at the current location, but apparently that is not where undreamai_server is checking for it. Looking at the paths in the error, I have a suspicion that the developer's or CI's working directory was somehow hardcoded in the output?

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