Error while loading shared libraries: libgpm.so.2: cannot open
Did this:
export PATH=$PATH:/etc/mc/usr/bin (тут лежит бинарный файл mc); export PATH=$PATH:/usr/lib64 (тут лежит libgpm.so.2). The PATH environment variable is in no way (!!!) related to the so-shek search path. If you want to act through environment variables, do this:
export LD_LIBRARY_PATH=/home/..... But it is better to do it "forever" using the utility.
/sbin/ldconfig <Каталог, в котором лежит Ваша so-шка> The utility will cache your library and store it in the system as a whole.
Source: https://ru.stackoverflow.com/questions/932427/
All Articles