Skip to content

Error while loading shared libraries, skm global install failed

Solution(s)

1. Update Your Shell Profile (~/.bashrc or ~/.zshrc) using echo

Follow these steps to update your shell profiles and system library path to include SplashKit.

For Bash Users:

  1. To add SplashKit to your PATH, run the following command:

    Terminal window
    echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.bashrc
  2. Apply Changes

    Reload the .bashrc paths with the following command to apply changes immediately:

    Terminal window
    source ~/.bashrc
  3. Run the global install command again using:

    Terminal window
    skm global install

2. Update Your Shell Profile (~/.bashrc or ~/.zshrc) using nano

Follow these steps to update your shell profiles and system library path to include SplashKit.

For Bash Users:

  1. Open your ~/.bashrc file:

    Terminal window
    nano ~/.bashrc
  2. Add the following line near the end of the file:

    Terminal window
    export PATH="$PATH:$HOME/.splashkit"
  3. Save and close the file, then update your profile:

    Terminal window
    source ~/.bashrc
  4. Run the global install command again using:

    Terminal window
    skm global install