Page 1 of 1

[SOLVED] hearts game downloading problem

PostPosted: May 18th, '13, 00:53
by ofbodur
I am trying to download hearts game and play it on my Mageia 2 distr.
the command that I write on to my konsole is as follows:

rpm –ivh hearts-1.95-1.i586.rpm –force --nodeps

However it doesn't work.
At first, just typing urpmi hearts-1.95-1.i586.rpm does not work at all, so I tried the code above to fix it, but could not download it.

Re: hearts game downloading problem

PostPosted: May 18th, '13, 00:57
by doktor5000
Where do you want to download it?

Re: hearts game downloading problem

PostPosted: May 18th, '13, 01:04
by ofbodur
does it matter where I want to download?
say in a file named hearts in desktop..

Re: hearts game downloading problem

PostPosted: May 18th, '13, 01:11
by doktor5000
No, i meant where do you want to download it from? You didn't gave an URL or something like that, and it seems this is not in the Mageia repos.

Re: hearts game downloading problem

PostPosted: May 18th, '13, 01:30
by ofbodur
sorry..
I downloaded it from a different source.
Here what happened...

Code: Select all
[root@localhost Downloads]# rpm -ivh --force hearts-1.95-1.i586.rpm --nodeps
Preparing...                ########################################### [100%]
   1:hearts                 ########################################### [100%]
[root@localhost Downloads]# hearts
hearts: error while loading shared libraries: libkdeui.so.4: cannot open shared object file: No such file or directory

Re: hearts game downloading problem

PostPosted: May 18th, '13, 02:04
by Ken-Bergen
ofbodur wrote:sorry..
I downloaded it from a different source.
As the Doktor said, if you don't tell us where you downloaded it from it's next to impossible to help.

Re: hearts game downloading problem

PostPosted: May 18th, '13, 08:16
by mhoke63
Did you try using URPMI instead of RPM -i? URPM eliminates dependency hell.

Re: hearts game downloading problem

PostPosted: May 18th, '13, 09:59
by ofbodur
Ken-Bergen wrote:
ofbodur wrote:sorry..
I downloaded it from a different source.
As the Doktor said, if you don't tell us where you downloaded it from it's next to impossible to help.


I downloaded the program from the link below
http://rpm.pbone.net/index.php3/stat/4/idpl/17920543/dir/other/com/hearts-1.95-1.i586.rpm.html

mhoke63 wrote:Did you try using URPMI instead of RPM -i? URPM eliminates dependency hell.

Yes I tried it but does not work.

Re: hearts game downloading problem

PostPosted: May 18th, '13, 11:06
by doktor5000
ofbodur wrote:hearts: error while loading shared libraries: libkdeui.so.4: cannot open shared object file: No such file or directory

That is a KDE3 library, you won't be able to run such an old program under Mageia, sorry.

What is hearts exactly? A game? Maybe we can help you find an alternative.

Re: hearts game downloading problem

PostPosted: May 18th, '13, 12:04
by ofbodur
My objective was not playing the game but just wondered why it did not open. The idea of library is not so precise in my head. I may read about these topics later.

Hearts is a card game similar to basic games in Windows that is already downloaded within the distribution itself.

Re: hearts game downloading problem

PostPosted: May 18th, '13, 16:51
by oj
kde4-games, gnome-games and some specific cards programs have a version of hearts, IIRC.

"Library" is simple: many programs may need the same services from the system. To be obvious, an app needs to use the display. Rather than every application having every possible service it needs built into it, many common parts of making the system work are put in a "library" full of files that do the various things every app needs. So if you have 12 card games installed, rather than having 12 copies of a file they all need, the developer just points the app to the appropriate file(s) in the "library."

The library is a collection of basic files common to pretty much all applications. There's hundreds of them, and each app will use whatever of them they need. It makes managing the whole operating system a whole lot easier.

Many errors such as the one you saw here, are caused by an application needing a specific version of a file ("library") that differs from the version installed. If you were to replace a specific "library" with an older version to get an app to work, you would break every other app that calls on that same library.

Re: hearts game downloading problem

PostPosted: May 18th, '13, 22:26
by ofbodur
it was a great and thorough explanation indeed. thanks oj!