Submitted by ramez.hanna on Tue, 04/01/2005 - 10:05.
( categories: )
i want to update samba on my server (it is an rpm based distro). i installed samba-3.0.8-1 and now i want to update it. so i downloaded the rpm and i did a #rpm -Uvh samba-3.0.9-1.rpm now i have a dependency error stating that it needs liblber.so.2 that is missing, doing a #slocate liblber.so.2 i can find it in /usr/lib.
the question is how to tell my system where to find it?
i did #ldconfig -v /usr/lib but didn't fix it


depends on your distro
but why the hell are you resolving dependencies manually, you should use your distros package management tools to do updates for you.
in mandrake its enough to run
to upgrade after you configure the proper package sources
also in mandrake you can query the uninstalled packages database to see which package provides any particular file.
here is the result on my installation
this means libldap2 contains the file you're looking for.
cheers,
Alaa
http://www.manalaa.net "i`m feeling for the 2nd time like alice in wonderland reading el wafd"
thank you alaa for your reply
thank you alaa for your reply but i don\t use mandrake i'm using centos so io have yum and doing yum gives the same error. and i also want to know how to it manually (for the sake of knowledge)
the best things in life are free --- so as myself
If you are sure that the shar
If you are sure that the shared object is there, force no dependencies when installing the RPM via the "--nodeps" switch.
-- I was known as Uniball!
Katoob Main developer
PekSysTray - GtkFlame
thanks for the tip it worked
thanks for the tip it worked :) but i wonder about why if it is thee the system can't see it
the best things in life are free --- so as myself
system knows what its told
binary package management systems do not scan the file system for dependencies, they only know whats in the package database.
so this either means you installed the dependency manually from source code, or you mixed RPMs that are not specifically made for your distro or version or you're using badly packaged RPMs
I still don't understand why you don't let the package manager handle software installation and dependencies for you.
cheers,
Alaa
http://www.manalaa.net "i`m feeling for the 2nd time like alice in wonderland reading el wafd"
actually it is YUM that is ma
actually it is YUM that is making this problem
i do yum update samba then i get a missing dependency that yum cannot resolve --> liblber.so.2
liblber.so is installed with openldap and i already have it installed
so it's probably that the ldap rpms were badly packed so i downloaded the rpms from samba .org and installed them with rpm --nodeps
the best things in life are free --- so as myself
hrmf
cheers,
Alaa
http://www.manalaa.net "i`m feeling for the 2nd time like alice in wonderland reading el wafd"