[Freeipa-devel] f22 issues with freeipa installation
Hi everyone, The following problems raise when I try to install the latest FreeIPA code on a fresh f22 machine: root@f22master:/home/ofayans/rpms]$ rpm -ihv *.rpm error: Failed dependencies: libunistring.so.0()(64bit) is needed by freeipa-server-4.1.99.201506031339GITa923284-0.fc21.x86_64 libpdb.so.0()(64bit) is needed by freeipa-server-trust-ad-4.1.99.201506031339GITa923284-0.fc21.x86_64 libpdb.so.0(PDB_0)(64bit) is needed by freeipa-server-trust-ad-4.1.99.201506031339GITa923284-0.fc21.x86_64 root@f22master:/home/ofayans/rpms]$ dnf install libunistring Last metadata expiration check performed 0:10:50 ago on Thu Jun 4 03:17:10 2015. Package libunistring-0.9.4-1.fc22.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! root@f22master:/home/ofayans/rpms]$ rpm -ql libunistring /usr/lib64/libunistring.so.2 /usr/lib64/libunistring.so.2.0.0 /usr/share/doc/libunistring /usr/share/doc/libunistring/AUTHORS /usr/share/doc/libunistring/NEWS /usr/share/doc/libunistring/README So, here are essentially 2 problems: 1. The system has a /usr/lib64/libunistring.so.2, while freeipa-server searches for /usr/lib64/libunistring.so.0 2. freeipa-server-trust-ad searches for a library (libpdb.so.0), that used to be provided by samba4-common long ago: http://rpm.pbone.net/index.php3/stat/4/idpl/24227742/dir/fedora_17/com/samba4-common-4.0.0-47alpha18.fc17.x86_64.rpm.html But now samba-common does not provide it at all: root@f22master:/home/ofayans/rpms]$ rpm -ql samba-common /etc/logrotate.d /etc/logrotate.d/samba /etc/samba /etc/samba/lmhosts /etc/samba/smb.conf /etc/sysconfig/samba /usr/lib/tmpfiles.d/samba.conf /usr/share/samba/codepages /usr/share/samba/codepages/lowcase.dat /usr/share/samba/codepages/upcase.dat /usr/share/samba/codepages/valid.dat /var/lib/samba/private /var/log/samba /var/log/samba/old /var/run/samba /var/run/winbindd -- Oleg Fayans Quality Engineer FreeIPA team RedHat. -- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
Re: [Freeipa-devel] f22 issues with freeipa installation
Resolved, the packages were built on f21. My bad On 06/04/2015 09:57 AM, Oleg Fayans wrote: Hi everyone, The following problems raise when I try to install the latest FreeIPA code on a fresh f22 machine: root@f22master:/home/ofayans/rpms]$ rpm -ihv *.rpm error: Failed dependencies: libunistring.so.0()(64bit) is needed by freeipa-server-4.1.99.201506031339GITa923284-0.fc21.x86_64 libpdb.so.0()(64bit) is needed by freeipa-server-trust-ad-4.1.99.201506031339GITa923284-0.fc21.x86_64 libpdb.so.0(PDB_0)(64bit) is needed by freeipa-server-trust-ad-4.1.99.201506031339GITa923284-0.fc21.x86_64 root@f22master:/home/ofayans/rpms]$ dnf install libunistring Last metadata expiration check performed 0:10:50 ago on Thu Jun 4 03:17:10 2015. Package libunistring-0.9.4-1.fc22.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! root@f22master:/home/ofayans/rpms]$ rpm -ql libunistring /usr/lib64/libunistring.so.2 /usr/lib64/libunistring.so.2.0.0 /usr/share/doc/libunistring /usr/share/doc/libunistring/AUTHORS /usr/share/doc/libunistring/NEWS /usr/share/doc/libunistring/README So, here are essentially 2 problems: 1. The system has a /usr/lib64/libunistring.so.2, while freeipa-server searches for /usr/lib64/libunistring.so.0 2. freeipa-server-trust-ad searches for a library (libpdb.so.0), that used to be provided by samba4-common long ago: http://rpm.pbone.net/index.php3/stat/4/idpl/24227742/dir/fedora_17/com/samba4-common-4.0.0-47alpha18.fc17.x86_64.rpm.html But now samba-common does not provide it at all: root@f22master:/home/ofayans/rpms]$ rpm -ql samba-common /etc/logrotate.d /etc/logrotate.d/samba /etc/samba /etc/samba/lmhosts /etc/samba/smb.conf /etc/sysconfig/samba /usr/lib/tmpfiles.d/samba.conf /usr/share/samba/codepages /usr/share/samba/codepages/lowcase.dat /usr/share/samba/codepages/upcase.dat /usr/share/samba/codepages/valid.dat /var/lib/samba/private /var/log/samba /var/log/samba/old /var/run/samba /var/run/winbindd -- Oleg Fayans Quality Engineer FreeIPA team RedHat. -- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code