So I am a complete beginner with using Linux and working with installing required libraries.
I come more often to the problem that I need to install some 3rd party lib in order to build and/or start a application.
I find and install the lib and the compiler/application still says that the missing lib is still not installed.
For example I try to run the game "Frets on fire" (FoF) which requires python and the Python Image Library.
So following different guides on the internet I have installed the PIL (or Pillow) but the FoF still says the Image library is not installed:
File "/home/[name]/Games/FretsOnFire-1.3.110/src/Texture.py", line 27, in <module>
import Image
ImportError: No module named Image
I installed all the python libs either through the software center or through python/pip/pip3 and it claims everything
is properly installed. I have followed and checked all possible sollutions I have found on the internet, but without success.
Requirement already satisfied: Image in /usr/lib64/python3.6/site-packages (1.5.27)
Requirement already satisfied: pillow in /usr/lib64/python3.6/site-packages (from Image) (6.0.0)
Requirement already satisfied: django in /usr/lib64/python3.6/site-packages (from Image) (2.2.3)
Requirement already satisfied: sqlparse in /usr/lib64/python3.6/site-packages (from django->Image) (0.3.0)
Requirement already satisfied: pytz in /usr/lib64/python3.6/site-packages (from django->Image) (2019.1)
I had a similar issue when attempting to build LGOGDownloader, this time with the htmlcxx lib which I compiled myself without issues. Also here the compiler complaints that the htmlcxx is not installed:
-- Checking for module 'htmlcxx'
-- No package 'htmlcxx' found
CMake Error at /usr/share/cmake-3.14/Modules/FindPkgConfig.cmake:457 (message):
A required package was not found
So my question is this; Is there some additional configuration I need to do to link the installed libs somewhere or how can I get the applications/projects to successfully find these libs? Do I have to install all libs in a specific directory in order for the system to find it? Is there a general guideline for something like this?
Thank you!