• qqq@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    7 months ago

    You can use ~/.local/lib and LD_LIBRARY_PATH for shared libs.

    Or better yet just give in and use the nix package manager, it is basically a virtual environment for your C programs.