LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dependencies (https://www.linuxquestions.org/questions/linux-newbie-8/dependencies-652394/)

Sovetryne 06-29-2008 08:05 AM

Dependencies
 
Yesterday, I wrote a question about some particular dependencies, I obviously were missing. By installing a more modern version of Linux, that problem seems to be solved. But now I am trying to install something called GnomeMessenger 0.0.0.96-1.i386, and I get an error, stating that I am missing some dependencies, just like yesterday. The only difference is the particular names of the dependencies I obviously am missing.
So I assume this is a common problem.
Therefore I'd like to ask:

Where do I find dependencies (libssl.so.2, libcrypto.so.2, liblink.so.1 and libXft.so.1), and how do I install them?

Yours faithfully ;)


Albert van Harten

pixellany 06-29-2008 08:15 AM

If you install the software from the package manager, it will automatically take care of the dependencies. In your menus, the package manager will be called "install software", "install applications", or something similar.

culaterout 06-29-2008 09:00 AM

Read this old post on dependences great way to learn how to install software.....

http://www.linuxquestions.org/questi...titude-363365/



later...

Sovetryne 06-30-2008 12:38 AM

Quote:

Originally Posted by pixellany (Post 3198420)
If you install the software from the package manager, it will automatically take care of the dependencies. In your menus, the package manager will be called "install software", "install applications", or something similar.


Well, actually I am installing from the package manager. Since it says I am missing these dependencies, it doesn't seem to take care of any dependency :)

Quote:

Originally Posted by culaterout
Read this old post on dependences great way to learn how to install software.....

Thanks, hopefully I can use it...

lazlow 06-30-2008 01:22 AM

Where did you get the rpm that you are trying to install?

You have to be careful mixing software sources (repos) becuase file Z from repo A may or may not be the same as file X from repo B. If you install app #1 from repo A with file Z as a dependency, then you attempt to install app #2 from repo B that also has as one of its dependencies file Z, you can be in trouble.

Where this really can get ugly is when one tries to install a generic rpm (made for many distros) on a system. If the rpm was not built with that specific distro, architecture, and version it has only a marginal chance of being installed (and functioning) properly. That is not to say that generic rpms cannot be made, but rather that they are difficult to make properly. Usually the rpm will indicate in its name what distro, arch, and version it is for. For example:

Quote:

libgdiplus-1.2.5-1.el5.centos.i386.rpm
The .el5 is short for RHEL 5 (Centos=RHEL for all intents and purposes).
The .i386 means it is for i386 or above.(i386,i586,i686, and X86_64 are the common archs)
The .centos means that Centos made the rpm.
The libgdiplus-1.2.5 is the name and version of the source in the package.
The -1 after libgdiplus-1.2.5 indicates that this package worked on their first attempt. Sometimes rpms will need to be tweaked a little to function properly, so it is not uncommon to see -2 (or if it is a real PITA package much higher, I think I saw a 15 one time).


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