From a595de964f9e2dc0c16f80aa87c6ab7da3071623 Mon Sep 17 00:00:00 2001 From: tiyn Date: Thu, 21 Aug 2025 05:45:56 +0200 Subject: [PATCH] linux: cannot open shared library error --- wiki/linux/shell.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wiki/linux/shell.md b/wiki/linux/shell.md index 90fc4ce..01fd8ae 100644 --- a/wiki/linux/shell.md +++ b/wiki/linux/shell.md @@ -222,3 +222,12 @@ It is related to a terminal line setting problem. ```sh stty sane ``` + +### Error `cannot open shared object file: No such file or directory` + +This section is based on a +[Github issue by stephenson](https://github.com/rubygems/rubygems/issues/7523). +This error can occur for many different programs and with many different commands which is why it +is listed in the shell entry. +To fix it the most common and most effective way is to [reinstall](/wiki/linux/package_manager.md) +the program that throws the error.