Problems with libraries for programs [GParted, Krita]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
-2
down vote

favorite












GParted or Krita do not start. If you run them through the terminal, you get an error about the libraries.



 Unit -.mount does not exist, proceeding anyway.
/usr/sbin/gpartedbin: error while loading shared libraries: libpangomm-1.4.so.1: cannot open shared object file: No such file or directory

krita: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory


I changed the config settings in ld.so.conf (I specified folders for libraries, it's useless)



include /etc/ld.so.conf.d/*.conf
/usr/local/lib
/root/etc/lib
/


Maybe I'm doing something wrong? I am newbie.



The output of apt-cache policy krita gparted libqt5widgets5 is on pastebin.







share|improve this question






















  • You chose very strange way to use and install software. What was wrong with installing them from repository: sudo apt-get update, sudo apt-get install krita gparted? By the way libraries are located in the following packages - libqt5widgets5 and libpangomm-1.4-1v5.
    – N0rbert
    May 12 at 20:31











  • @N0rbert Very strange? These programms installed from official Ubuntu "store"
    – Lazelis
    May 12 at 20:35










  • Please add output of apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 to the question.
    – N0rbert
    May 12 at 20:36










  • The whole text does not fit into the comment, but I have everything set.
    – Lazelis
    May 12 at 20:47














up vote
-2
down vote

favorite












GParted or Krita do not start. If you run them through the terminal, you get an error about the libraries.



 Unit -.mount does not exist, proceeding anyway.
/usr/sbin/gpartedbin: error while loading shared libraries: libpangomm-1.4.so.1: cannot open shared object file: No such file or directory

krita: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory


I changed the config settings in ld.so.conf (I specified folders for libraries, it's useless)



include /etc/ld.so.conf.d/*.conf
/usr/local/lib
/root/etc/lib
/


Maybe I'm doing something wrong? I am newbie.



The output of apt-cache policy krita gparted libqt5widgets5 is on pastebin.







share|improve this question






















  • You chose very strange way to use and install software. What was wrong with installing them from repository: sudo apt-get update, sudo apt-get install krita gparted? By the way libraries are located in the following packages - libqt5widgets5 and libpangomm-1.4-1v5.
    – N0rbert
    May 12 at 20:31











  • @N0rbert Very strange? These programms installed from official Ubuntu "store"
    – Lazelis
    May 12 at 20:35










  • Please add output of apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 to the question.
    – N0rbert
    May 12 at 20:36










  • The whole text does not fit into the comment, but I have everything set.
    – Lazelis
    May 12 at 20:47












up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











GParted or Krita do not start. If you run them through the terminal, you get an error about the libraries.



 Unit -.mount does not exist, proceeding anyway.
/usr/sbin/gpartedbin: error while loading shared libraries: libpangomm-1.4.so.1: cannot open shared object file: No such file or directory

krita: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory


I changed the config settings in ld.so.conf (I specified folders for libraries, it's useless)



include /etc/ld.so.conf.d/*.conf
/usr/local/lib
/root/etc/lib
/


Maybe I'm doing something wrong? I am newbie.



The output of apt-cache policy krita gparted libqt5widgets5 is on pastebin.







share|improve this question














GParted or Krita do not start. If you run them through the terminal, you get an error about the libraries.



 Unit -.mount does not exist, proceeding anyway.
/usr/sbin/gpartedbin: error while loading shared libraries: libpangomm-1.4.so.1: cannot open shared object file: No such file or directory

krita: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory


I changed the config settings in ld.so.conf (I specified folders for libraries, it's useless)



include /etc/ld.so.conf.d/*.conf
/usr/local/lib
/root/etc/lib
/


Maybe I'm doing something wrong? I am newbie.



The output of apt-cache policy krita gparted libqt5widgets5 is on pastebin.









share|improve this question













share|improve this question




share|improve this question








edited May 13 at 8:22









N0rbert

14.9k33069




14.9k33069










asked May 12 at 20:29









Lazelis

1




1











  • You chose very strange way to use and install software. What was wrong with installing them from repository: sudo apt-get update, sudo apt-get install krita gparted? By the way libraries are located in the following packages - libqt5widgets5 and libpangomm-1.4-1v5.
    – N0rbert
    May 12 at 20:31











  • @N0rbert Very strange? These programms installed from official Ubuntu "store"
    – Lazelis
    May 12 at 20:35










  • Please add output of apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 to the question.
    – N0rbert
    May 12 at 20:36










  • The whole text does not fit into the comment, but I have everything set.
    – Lazelis
    May 12 at 20:47
















  • You chose very strange way to use and install software. What was wrong with installing them from repository: sudo apt-get update, sudo apt-get install krita gparted? By the way libraries are located in the following packages - libqt5widgets5 and libpangomm-1.4-1v5.
    – N0rbert
    May 12 at 20:31











  • @N0rbert Very strange? These programms installed from official Ubuntu "store"
    – Lazelis
    May 12 at 20:35










  • Please add output of apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 to the question.
    – N0rbert
    May 12 at 20:36










  • The whole text does not fit into the comment, but I have everything set.
    – Lazelis
    May 12 at 20:47















You chose very strange way to use and install software. What was wrong with installing them from repository: sudo apt-get update, sudo apt-get install krita gparted? By the way libraries are located in the following packages - libqt5widgets5 and libpangomm-1.4-1v5.
– N0rbert
May 12 at 20:31





You chose very strange way to use and install software. What was wrong with installing them from repository: sudo apt-get update, sudo apt-get install krita gparted? By the way libraries are located in the following packages - libqt5widgets5 and libpangomm-1.4-1v5.
– N0rbert
May 12 at 20:31













@N0rbert Very strange? These programms installed from official Ubuntu "store"
– Lazelis
May 12 at 20:35




@N0rbert Very strange? These programms installed from official Ubuntu "store"
– Lazelis
May 12 at 20:35












Please add output of apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 to the question.
– N0rbert
May 12 at 20:36




Please add output of apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 to the question.
– N0rbert
May 12 at 20:36












The whole text does not fit into the comment, but I have everything set.
– Lazelis
May 12 at 20:47




The whole text does not fit into the comment, but I have everything set.
– Lazelis
May 12 at 20:47










1 Answer
1






active

oldest

votes

















up vote
1
down vote













Typically, this error is seen because you do not have the libraries installed.



You can check your filesystem for the file, using dpgk, but this only shows files you have installed and could be used to confirm the file exists:



dpkg -S libQt5Widgets.so.5


To find which package has the library file, you can search the Ubuntu Packages website, or use apt-file:



$ sudo apt-get install apt-file
$ sudo apt-file update
$ sudo apt-file find libQt5Widgets.so.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1


This means that you need to install libqt5widgets5 to get the library file:



sudo apt-get install libqt5widgets5


It is best to let the system manage libraries with apt and rely less on manual intervention with tools like ldconfig, or building from source when hard work has been done to provide secure and stable packages.




When you install an application through a package, the package will have a list of dependencies. If you're installing programs like gparted and krita using apt, they should automatically download and install dependencies, with your permission. You can try re-installing the dependency in case something strange happened:



sudo apt-get install --reinstall libqt5widgets5





share|improve this answer






















  • I've done everything. But it still does not work.
    – Lazelis
    May 12 at 20:48






  • 1




    Can you please update the question with some details such as how gparted and krita were installed? On which version of Ubuntu are you? Have you recently done a dist-upgrade, or version upgrade? Have you reverted your settings to ld? Did libqt5widgets5 install or reinstall? Have you tried restarting since? There are other people with questions that will help us, such as apt-cache policy krita gparted libqt5widgets5 output. Large text outputs can be stored on Ubuntu's pastebin and linked to.
    – earthmeLon
    May 12 at 20:54











  • @Lazelis Please don't say “I have tried everything”, and please answer my questions (if apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 output is long, use PasteBin or something similar).
    – N0rbert
    May 12 at 21:05







  • 1




    I think in this context @Lazelis means they have tried all of 'everything' inside my proposed answer, but we will likely need more information to resolve the issue.
    – earthmeLon
    May 12 at 21:07











  • @earthmeLon OK, let's wait for adequate actions of OP. Now I vote to close as unclear.
    – N0rbert
    May 12 at 21:08










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035450%2fproblems-with-libraries-for-programs-gparted-krita%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













Typically, this error is seen because you do not have the libraries installed.



You can check your filesystem for the file, using dpgk, but this only shows files you have installed and could be used to confirm the file exists:



dpkg -S libQt5Widgets.so.5


To find which package has the library file, you can search the Ubuntu Packages website, or use apt-file:



$ sudo apt-get install apt-file
$ sudo apt-file update
$ sudo apt-file find libQt5Widgets.so.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1


This means that you need to install libqt5widgets5 to get the library file:



sudo apt-get install libqt5widgets5


It is best to let the system manage libraries with apt and rely less on manual intervention with tools like ldconfig, or building from source when hard work has been done to provide secure and stable packages.




When you install an application through a package, the package will have a list of dependencies. If you're installing programs like gparted and krita using apt, they should automatically download and install dependencies, with your permission. You can try re-installing the dependency in case something strange happened:



sudo apt-get install --reinstall libqt5widgets5





share|improve this answer






















  • I've done everything. But it still does not work.
    – Lazelis
    May 12 at 20:48






  • 1




    Can you please update the question with some details such as how gparted and krita were installed? On which version of Ubuntu are you? Have you recently done a dist-upgrade, or version upgrade? Have you reverted your settings to ld? Did libqt5widgets5 install or reinstall? Have you tried restarting since? There are other people with questions that will help us, such as apt-cache policy krita gparted libqt5widgets5 output. Large text outputs can be stored on Ubuntu's pastebin and linked to.
    – earthmeLon
    May 12 at 20:54











  • @Lazelis Please don't say “I have tried everything”, and please answer my questions (if apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 output is long, use PasteBin or something similar).
    – N0rbert
    May 12 at 21:05







  • 1




    I think in this context @Lazelis means they have tried all of 'everything' inside my proposed answer, but we will likely need more information to resolve the issue.
    – earthmeLon
    May 12 at 21:07











  • @earthmeLon OK, let's wait for adequate actions of OP. Now I vote to close as unclear.
    – N0rbert
    May 12 at 21:08














up vote
1
down vote













Typically, this error is seen because you do not have the libraries installed.



You can check your filesystem for the file, using dpgk, but this only shows files you have installed and could be used to confirm the file exists:



dpkg -S libQt5Widgets.so.5


To find which package has the library file, you can search the Ubuntu Packages website, or use apt-file:



$ sudo apt-get install apt-file
$ sudo apt-file update
$ sudo apt-file find libQt5Widgets.so.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1


This means that you need to install libqt5widgets5 to get the library file:



sudo apt-get install libqt5widgets5


It is best to let the system manage libraries with apt and rely less on manual intervention with tools like ldconfig, or building from source when hard work has been done to provide secure and stable packages.




When you install an application through a package, the package will have a list of dependencies. If you're installing programs like gparted and krita using apt, they should automatically download and install dependencies, with your permission. You can try re-installing the dependency in case something strange happened:



sudo apt-get install --reinstall libqt5widgets5





share|improve this answer






















  • I've done everything. But it still does not work.
    – Lazelis
    May 12 at 20:48






  • 1




    Can you please update the question with some details such as how gparted and krita were installed? On which version of Ubuntu are you? Have you recently done a dist-upgrade, or version upgrade? Have you reverted your settings to ld? Did libqt5widgets5 install or reinstall? Have you tried restarting since? There are other people with questions that will help us, such as apt-cache policy krita gparted libqt5widgets5 output. Large text outputs can be stored on Ubuntu's pastebin and linked to.
    – earthmeLon
    May 12 at 20:54











  • @Lazelis Please don't say “I have tried everything”, and please answer my questions (if apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 output is long, use PasteBin or something similar).
    – N0rbert
    May 12 at 21:05







  • 1




    I think in this context @Lazelis means they have tried all of 'everything' inside my proposed answer, but we will likely need more information to resolve the issue.
    – earthmeLon
    May 12 at 21:07











  • @earthmeLon OK, let's wait for adequate actions of OP. Now I vote to close as unclear.
    – N0rbert
    May 12 at 21:08












up vote
1
down vote










up vote
1
down vote









Typically, this error is seen because you do not have the libraries installed.



You can check your filesystem for the file, using dpgk, but this only shows files you have installed and could be used to confirm the file exists:



dpkg -S libQt5Widgets.so.5


To find which package has the library file, you can search the Ubuntu Packages website, or use apt-file:



$ sudo apt-get install apt-file
$ sudo apt-file update
$ sudo apt-file find libQt5Widgets.so.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1


This means that you need to install libqt5widgets5 to get the library file:



sudo apt-get install libqt5widgets5


It is best to let the system manage libraries with apt and rely less on manual intervention with tools like ldconfig, or building from source when hard work has been done to provide secure and stable packages.




When you install an application through a package, the package will have a list of dependencies. If you're installing programs like gparted and krita using apt, they should automatically download and install dependencies, with your permission. You can try re-installing the dependency in case something strange happened:



sudo apt-get install --reinstall libqt5widgets5





share|improve this answer














Typically, this error is seen because you do not have the libraries installed.



You can check your filesystem for the file, using dpgk, but this only shows files you have installed and could be used to confirm the file exists:



dpkg -S libQt5Widgets.so.5


To find which package has the library file, you can search the Ubuntu Packages website, or use apt-file:



$ sudo apt-get install apt-file
$ sudo apt-file update
$ sudo apt-file find libQt5Widgets.so.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
libqt5widgets5:amd64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1


This means that you need to install libqt5widgets5 to get the library file:



sudo apt-get install libqt5widgets5


It is best to let the system manage libraries with apt and rely less on manual intervention with tools like ldconfig, or building from source when hard work has been done to provide secure and stable packages.




When you install an application through a package, the package will have a list of dependencies. If you're installing programs like gparted and krita using apt, they should automatically download and install dependencies, with your permission. You can try re-installing the dependency in case something strange happened:



sudo apt-get install --reinstall libqt5widgets5






share|improve this answer














share|improve this answer



share|improve this answer








edited May 12 at 20:39

























answered May 12 at 20:36









earthmeLon

5,8131547




5,8131547











  • I've done everything. But it still does not work.
    – Lazelis
    May 12 at 20:48






  • 1




    Can you please update the question with some details such as how gparted and krita were installed? On which version of Ubuntu are you? Have you recently done a dist-upgrade, or version upgrade? Have you reverted your settings to ld? Did libqt5widgets5 install or reinstall? Have you tried restarting since? There are other people with questions that will help us, such as apt-cache policy krita gparted libqt5widgets5 output. Large text outputs can be stored on Ubuntu's pastebin and linked to.
    – earthmeLon
    May 12 at 20:54











  • @Lazelis Please don't say “I have tried everything”, and please answer my questions (if apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 output is long, use PasteBin or something similar).
    – N0rbert
    May 12 at 21:05







  • 1




    I think in this context @Lazelis means they have tried all of 'everything' inside my proposed answer, but we will likely need more information to resolve the issue.
    – earthmeLon
    May 12 at 21:07











  • @earthmeLon OK, let's wait for adequate actions of OP. Now I vote to close as unclear.
    – N0rbert
    May 12 at 21:08
















  • I've done everything. But it still does not work.
    – Lazelis
    May 12 at 20:48






  • 1




    Can you please update the question with some details such as how gparted and krita were installed? On which version of Ubuntu are you? Have you recently done a dist-upgrade, or version upgrade? Have you reverted your settings to ld? Did libqt5widgets5 install or reinstall? Have you tried restarting since? There are other people with questions that will help us, such as apt-cache policy krita gparted libqt5widgets5 output. Large text outputs can be stored on Ubuntu's pastebin and linked to.
    – earthmeLon
    May 12 at 20:54











  • @Lazelis Please don't say “I have tried everything”, and please answer my questions (if apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 output is long, use PasteBin or something similar).
    – N0rbert
    May 12 at 21:05







  • 1




    I think in this context @Lazelis means they have tried all of 'everything' inside my proposed answer, but we will likely need more information to resolve the issue.
    – earthmeLon
    May 12 at 21:07











  • @earthmeLon OK, let's wait for adequate actions of OP. Now I vote to close as unclear.
    – N0rbert
    May 12 at 21:08















I've done everything. But it still does not work.
– Lazelis
May 12 at 20:48




I've done everything. But it still does not work.
– Lazelis
May 12 at 20:48




1




1




Can you please update the question with some details such as how gparted and krita were installed? On which version of Ubuntu are you? Have you recently done a dist-upgrade, or version upgrade? Have you reverted your settings to ld? Did libqt5widgets5 install or reinstall? Have you tried restarting since? There are other people with questions that will help us, such as apt-cache policy krita gparted libqt5widgets5 output. Large text outputs can be stored on Ubuntu's pastebin and linked to.
– earthmeLon
May 12 at 20:54





Can you please update the question with some details such as how gparted and krita were installed? On which version of Ubuntu are you? Have you recently done a dist-upgrade, or version upgrade? Have you reverted your settings to ld? Did libqt5widgets5 install or reinstall? Have you tried restarting since? There are other people with questions that will help us, such as apt-cache policy krita gparted libqt5widgets5 output. Large text outputs can be stored on Ubuntu's pastebin and linked to.
– earthmeLon
May 12 at 20:54













@Lazelis Please don't say “I have tried everything”, and please answer my questions (if apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 output is long, use PasteBin or something similar).
– N0rbert
May 12 at 21:05





@Lazelis Please don't say “I have tried everything”, and please answer my questions (if apt-cache policy krita gparted libqt5widgets5 libpangomm-1.4-1v5 output is long, use PasteBin or something similar).
– N0rbert
May 12 at 21:05





1




1




I think in this context @Lazelis means they have tried all of 'everything' inside my proposed answer, but we will likely need more information to resolve the issue.
– earthmeLon
May 12 at 21:07





I think in this context @Lazelis means they have tried all of 'everything' inside my proposed answer, but we will likely need more information to resolve the issue.
– earthmeLon
May 12 at 21:07













@earthmeLon OK, let's wait for adequate actions of OP. Now I vote to close as unclear.
– N0rbert
May 12 at 21:08




@earthmeLon OK, let's wait for adequate actions of OP. Now I vote to close as unclear.
– N0rbert
May 12 at 21:08












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035450%2fproblems-with-libraries-for-programs-gparted-krita%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491