Skip to content

[Feature] [Linux]: Support symlink for "flm" bash script #912

Open

Description

@rizno

Suggestion Description

Problem

I installed FastFlowLM v1.0.11 in ~/.local/fastflowlm.
I made a symlink for flm into ~/.local/bin/:

cd ~/.local/bin
ln -s ../fastflowlm/flm

When launching flm I have this error message:

$ flm list
/home/user/.local/bin/flm: line 69: /home/user/.local/bin/flm-real: No such file or directory

Possible fix

Use realpath to get the script filename in the flm bash script:

# Resolve symlink if any.
SCRIPT_FILENAME="$(realpath "${BASH_SOURCE[0]}")"
# Directory containing this script (and the bundled tree).
SCRIPT_DIR="$(cd "$(dirname "${SCRIPT_FILENAME}")" && pwd)"

Operating System

Xubuntu 26.04

GPU

AMD Ryzen AI 5 330 w/ Radeon 820M (RADV GFX1153)

ROCm Component

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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