LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Resolving dependancy without YUM in RHEL 5 (https://www.linuxquestions.org/questions/linux-software-2/resolving-dependancy-without-yum-in-rhel-5-a-922812/)

mail2vivek1 01-09-2012 12:49 AM

Resolving dependancy without YUM in RHEL 5
 
Hello All,

I am trying to install Samba in my system. I am getting dependancy error while installing..I want to do it WITHOUT YUM..please suggest

[root@ccserver ~]# ll | grep samba
-rw-r--r-- 1 root root 9506228 Dec 14 15:54 samba-3.0.2-6.3E.i386.rpm
-rw-r--r-- 1 root root 14162007 Dec 14 15:26 samba-3.0.9-1.3E.18.i386.rpm
-rw-r--r-- 1 root root 3348105 Dec 14 15:32 samba-client-3.0.9-1.3E.18.i386.rpm
-rw-r--r-- 1 root root 4622897 Dec 14 15:32 samba-common-3.0.9-1.3E.18.i386.rpm


[root@ccserver ~]# rpm -ivh samba-common-3.0.9-1.3E.18.i386.rpm
warning: samba-common-3.0.9-1.3E.18.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
libcom_err.so.3 is needed by samba-common-3.0.9-1.3E.18.i386
libcrypto.so.4 is needed by samba-common-3.0.9-1.3E.18.i386
liblber.so.2 is needed by samba-common-3.0.9-1.3E.18.i386
libldap.so.2 is needed by samba-common-3.0.9-1.3E.18.i386
libssl.so.4 is needed by samba-common-3.0.9-1.3E.18.i386


i tried to resolve this by below command
ln -s libcom_err.so.2 libcom_err.so.3

but no luck..

John VV 01-09-2012 03:17 AM

the VERY VERY VERY hard way
you manually look for everything an manually install
and PRAY that you do not KILL ( read as FUBAR) the install of RHEL 5
doing that is likely to royally mess up the rhel5 install

it is NOT RECOMMENDED

there is a reason "yum" is used it takes care of the dependencies

seeing as this IS RHEL5 you do have a paid for support contract
use it
http://www.redhat.com/support/

you might also want to read the red hat documentation
https://access.redhat.com/knowledge/...erprise_Linux/

knudfl 01-09-2012 03:28 AM

And : The referred samba packages are for EL 3 only.

Hence the ancient dependencies.


The EL 5 packages are listed at Redhat, here as source versions
http://ftp.redhat.com/pub/redhat/lin...r/en/os/SRPMS/

.

chrism01 01-09-2012 07:58 PM

Both of the above ++.
Why on earth would you try to do it without yum; that way lies madness (given that samba is avail from repos).
If you don't have/want to pay for a RHEL subscription, get Centos (free version of RHEL) and use yum there

mail2vivek1 01-10-2012 12:01 AM

Hello All,

Thank you for your reply

I am able to install samba using yum without any difficulty.

Just for personal interest, i was experimenting with packages without yum. I too understand i was trying much much harder way tham yum.

Thanks again...


All times are GMT -5. The time now is 03:16 AM.