Discussion about building and installing Elmer
gforti
Posts: 77 Joined: 11 Jan 2022, 20:39
Antispam: Yes
Post
by gforti » 01 Feb 2023, 04:50
Hello all,
Tried to update my Elmer version using the procedure which I had already used and posted here:
viewtopic.php?t=7848
But I got the following error:
Code: Select all
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:27 (message):
The imported target "Qt5::Gui" references the file
"/usr/lib/x86_64-linux-gnu/libGL.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"
but not all the files it references.
What can it be?
kevinarden
Posts: 2313 Joined: 25 Jan 2019, 01:28
Antispam: Yes
Post
by kevinarden » 01 Feb 2023, 13:15
First check to see if the file is there.
gforti
Posts: 77 Joined: 11 Jan 2022, 20:39
Antispam: Yes
Post
by gforti » 01 Feb 2023, 16:32
Yes, file is there.
kevinarden
Posts: 2313 Joined: 25 Jan 2019, 01:28
Antispam: Yes
Post
by kevinarden » 01 Feb 2023, 16:49
that eliminates bullet 1
bullet 2
An install or uninstall procedure did not complete successfully
if you do
sudo apt update
are any broken packages reported?
gforti
Posts: 77 Joined: 11 Jan 2022, 20:39
Antispam: Yes
Post
by gforti » 01 Feb 2023, 19:04
Sorry, but the computer I am using for this (with Linux) is my personal computer and it is at home.
These are the files. The actual file is not there (sorry).
Code: Select all
forti@QuintalSoftHouse:~/Source/build$ ls /usr/lib/x86_64-linux-gnu | grep -i libgl
libGL.so.1
libGL.so.1.7.0
Bullet 2:
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
gforti
Posts: 77 Joined: 11 Jan 2022, 20:39
Antispam: Yes
Post
by gforti » 02 Feb 2023, 03:14
I think there was a problem with nvidia drivers. I uninstalled it and removed -purge everything:
Code: Select all
sudo apt-get remove --purge '^nvidia-.*'
Seems to be working now. Thanks for the attention.