Hi, I am new to Linux environment and trying to setup SAMBA 4.2.3 on one of our CentOS 7 server. I followed SAMBA wiki and other links and was able to build and install the SAMBA on the machine. Using checkinstall-1.6.2-3.el6.1.x86_64.rpm I am able to create the rpm package also, however when I use this rpm package [samba 4.2.3] to install on another CentOS machine it fails with below errors [root at vCentOS ~]# rpm -i samba-4.2.3-1.x86_64.rpm error: Failed dependencies: libCHARSET3-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 libCHARSET3-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 libHDB-SAMBA4-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 libHDB-SAMBA4-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 libdcerpc-samba-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 libdcerpc-samba-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 libkdc-samba4.so.2()(64bit) is needed by samba-4.2.3-1.x86_64 libkdc-samba4.so.2(HEIMDAL_KDC_1.0)(64bit) is needed by samba-4.2.3-1.x86_64 libkrb5samba-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 libkrb5samba-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 liblibcli-lsa3-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 liblibcli-lsa3-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 libnetif-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 libnetif-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 libpopt-samba3-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 libpopt-samba3-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 libposix-eadb-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 libposix-eadb-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 libsmb-transport-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 libsmb-transport-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 libsubunit-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 libsubunit-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 libtdb-wrap-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 libtdb-wrap-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 perl(Parse::Pidl) is needed by samba-4.2.3-1.x86_64 perl(Parse::Pidl::ODL) is needed by samba-4.2.3-1.x86_64 perl(Parse::Pidl::Util) is needed by samba-4.2.3-1.x86_64 Please can some one point me how should I build the package so that all these dependencies are taken care and I do not have to do force install or install these dependencies one by one on every other Linux machine. Regards Nitin
On 01/09/15 10:29, Nitin Pande wrote:> Hi, > > I am new to Linux environment and trying to setup SAMBA 4.2.3 on one of our CentOS 7 server. I followed SAMBA wiki and other links and was able to build and install the SAMBA on the machine. > > Using checkinstall-1.6.2-3.el6.1.x86_64.rpm I am able to create the rpm package also, however when I use this rpm package [samba 4.2.3] to install on another CentOS machine it fails with below errors > > [root at vCentOS ~]# rpm -i samba-4.2.3-1.x86_64.rpm > error: Failed dependencies: > libCHARSET3-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > libCHARSET3-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > libHDB-SAMBA4-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > libHDB-SAMBA4-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > libdcerpc-samba-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > libdcerpc-samba-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > libkdc-samba4.so.2()(64bit) is needed by samba-4.2.3-1.x86_64 > libkdc-samba4.so.2(HEIMDAL_KDC_1.0)(64bit) is needed by samba-4.2.3-1.x86_64 > libkrb5samba-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > libkrb5samba-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > liblibcli-lsa3-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > liblibcli-lsa3-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > libnetif-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > libnetif-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > libpopt-samba3-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > libpopt-samba3-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > libposix-eadb-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > libposix-eadb-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > libsmb-transport-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > libsmb-transport-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > libsubunit-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > libsubunit-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > libtdb-wrap-samba4.so()(64bit) is needed by samba-4.2.3-1.x86_64 > libtdb-wrap-samba4.so(SAMBA_4.2.3)(64bit) is needed by samba-4.2.3-1.x86_64 > perl(Parse::Pidl) is needed by samba-4.2.3-1.x86_64 > perl(Parse::Pidl::ODL) is needed by samba-4.2.3-1.x86_64 > perl(Parse::Pidl::Util) is needed by samba-4.2.3-1.x86_64 > > > Please can some one point me how should I build the package so that all these dependencies are taken care and I do not have to do force install or install these dependencies one by one on every other Linux machine. > > Regards > NitinDon't know about your problem, but why build your own packages when you can get them from Sernet ? Rowland
Am 01.09.2015 um 11:29 schrieb Nitin Pande:> I am new to Linux environment and trying to setup SAMBA 4.2.3 on one of our CentOS 7 server. I followed SAMBA wiki and other links and was able to build and install the SAMBA on the machine. > > Using checkinstall-1.6.2-3.el6.1.x86_64.rpm I am able to create the rpm package also, however when I use this rpm package [samba 4.2.3] to install on another CentOS machine it fails with below errors > > [root at vCentOS ~]# rpm -i samba-4.2.3-1.x86_64.rpm"rpm -i" is nonsense, you pretty sure built a bundle of subpackages and so you need to solve deps which is the job of yum https://wiki.centos.org/HowTos/CreateLocalRepos -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20150901/cf9e4314/signature.sig>