Error while loading shared libraries (file: magfieldmapper_gui)
11,060
This most likely means that the library your program is looking for is not installed. To find out what package this library is in, do this (if apt-file is not found, run sudo apt install apt-file && sudo apt update
first):
apt-file search liblapacke.so.3
Your output will be something like this:
liblapacke: /usr/lib/x86_64-linux-gnu/liblapacke.so.3
So, install the package as normal:
sudo apt install liblapacke
Related videos on Youtube
Author by
Dr Drill
Updated on September 18, 2022Comments
-
Dr Drill over 1 year
I am new to unbuntu. Please help me with this issue if possible. I have read through many solutions online, yet I am having difficulties understanding what was written by most.
I tried to run an executable from the terminal, however this is the error message that followed.
./magfieldmapper_gui: error while loading shared libraries: liblapacke.so.3: cannot open shared object file: No such file or directory
Please advice. Thank you for your time.
-
Dr Drill over 4 yearsThank you so much for the quick response!
-
Dr Drill over 4 yearsNow there seems to be another problem, the next output is
./magfieldmapper_gui: error while loading shared libraries: libcholmod.so.3.0.6: cannot open shared object file: No such file or directory
I have tried the same method, as you mentioned, however this time, the error message isE: Unable to locate package libcholmod3.0.6 E: Couldn't find any package by glob 'libcholmod3.0.6' E: Couldn't find any package by regex 'libcholmod3.0.6'
Sorry for troubling you. -
ajgringo619 over 4 yearsOn my Mint system (same base as Ubuntu 18.04), I'm on libcholmod.so.3.0.11.
-
Dr Drill over 4 yearsYes I understand Sir, however, it seems that this executable requires an older version of libcholmod for it to run. Do you have any idea how I can alter this?
-
ajgringo619 over 4 yearsOK. You can try downloading the right version from Ubuntu and installing it, but you may run into more dependency problems.
-
Dr Drill over 4 yearsI appreciate your help greatly. I hope you have a nice day.