LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems starting programs in KDE. (https://www.linuxquestions.org/questions/linux-newbie-8/problems-starting-programs-in-kde-165113/)

dave_i 04-01-2004 05:11 PM

Problems starting programs in KDE.
 
Hi,

I'm using Mandrake 9.1 (soon getting 10.0), and I'm using KDE.

When I try and start a program such as evolution (email) or one of the media players, or one of the configuration tools like userDrake, nothing happens!

Some programs work fine, but the ones I want to use don't!

When I click on the program's icon, its icon appears in the taskbar, then dissapears within a few seconds.

I recently had to restart the computer without shutting it down, so I wonder if that could have caused the problems?

Does anyone know what is causing this and what I can do about it?

jailbait 04-01-2004 05:21 PM

"When I click on the program's icon, its icon appears in the taskbar, then dissapears within a few seconds."

You might be able to get some meaningful error messages by starting the programs from the command line. Open a konsole and type in the name of the program instead of clicking on the icon. If you don't know the name of the program then right click on the icon and click on properties.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

wiBo 04-01-2004 05:21 PM

When you click on a program, what is the path of your program in the link proprieties...?

dave_i 04-01-2004 05:29 PM

For Evolution (which used to work but doesn't now), it points to /usr/bin/evolution

when I open a terminal in /usr/bin and try and run it, i get:

./evolution: error while loading shared libraries: libgal.so.21: cannot open sha red object file: No such file or directory

This doesn't sound too good.

jailbait 04-01-2004 05:43 PM

"./evolution: error while loading shared libraries: libgal.so.21: cannot open sha red object file: No such file or directory"

libgal may be missing or it may be a different version than evolution is expecting. Use find to see what libgal version, if any, you have installed:
find /usr/lib -iname "*libgal*"

Also try any other failing commands at the command line to see if other things are screwed up besides libgal. If other things are missing use the find command to look for them.

"I recently had to restart the computer without shutting it down, so I wonder if that could have caused the problems?"

Yes. This can cause problems such as part of your filesystem disappearing. When you restarted did you run fsck? fsck is the file system check and repair utility. If you crashed then on the next boot Mandrake should have told you that you needed to run fsck.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

wiBo 04-01-2004 05:45 PM

here is your problem, you didn't have the libgal.so.21 librairies, install it!

Try urpmi libgal.so.21

or download the rpm here :

ftp://194.199.20.114/linux/Mandrake/...-1mdk.i586.rpm

dave_i 04-01-2004 05:51 PM

When I try and open userDrake I get

userdrake: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory


when I search for libgal I get:

/usr/lib/libgal.a
/usr/lib/libgal.la
/usr/lib/libgal.so
/usr/lib/gtk/themes/engines/libgalaxy.so


When I search for libgtk I get:

/usr/lib/libgtk.a
/usr/lib/libgtk.la
/usr/lib/libgtk.so
/usr/lib/libgtkxmhtml.a
/usr/lib/libgtkxmhtml.la
/usr/lib/libgtkxmhtml.so
/usr/lib/libgtkxmhtml.so.1.0.1
/usr/lib/libgtk-x11-2.0.so.0
/usr/lib/libgtkmm-1.2.so.0.3.4
/usr/lib/libgtkxmhtml.so.1
/usr/lib/libgtk-x11-2.0.so.0.200.1
/usr/lib/libgtkhtml-2.so.0
/usr/lib/libgtkhtml-1.1.so.3.0.3
/usr/lib/libgtkhtml-2.so.0.0.0
/usr/lib/libgtkmm-1.2.so.0
/usr/lib/libgtkhtml-1.1.so.3


When I try running kaboodle I get:

kaboodle: error while loading shared libraries: libqtmcop.so.1: cannot open shared object file: No such file or directory

When I search for libqtmcop I get:

/usr/lib/libqtmcop.la



This is pretty strange, as it was all working fine before I had to restart.

dave_i 04-01-2004 05:56 PM

It's telling me that if I run fsck on mounted filesystems it can cause major damage - how do I run it?

jailbait 04-01-2004 06:50 PM

"It's telling me that if I run fsck on mounted filesystems it can cause major damage - how do I
run it?"

You are obviously missing parts of /usr/lib. Maybe fsck can find the missing files and reattach them to the filesystem. You cannot run fsck against a mounted filesystem (actually you can but fsck can make mistakes when you do so).

To run fsck:
Boot your Mandrake install CD and go into rescue mode. Get a command prompt and then run fsck against all of your Mandrake partitions except swap. It is very important that you tell fsck what filesystem type each partition is. fsck can autodetect the filesystem type but if the filesystem is screwed up to where fsck detects the filesystem incorrectly then fsck will really screw things up. So, assuming that you want to check /dev/hda1 and it is an ext3 filesystem, then run this command from rescue mode:
fsck -t ext3 /dev/hda1
Answer y to anything that fsck asks you.
Then do the next partition, etc.

As a side note, whenever I have a system crash I immediately use my LifeBoat rescue CD to fsck 11 of my 12 partitions before I attempt to reboot Fedora.

Checking your lists of files for libgal, libgtk, and libqtmcop against mine you are missing files in all three areas. Which ones are missing is not that important right now. Keep your lists handy and after you run fsck use find again to check your new lists and see if fsck improved things any.

Also check the lost+found directory on each partition to see if fsck placed any lost files or file fragments that it did not know what to do with in lost+found.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites


All times are GMT -5. The time now is 05:29 PM.