Bug 1375883

Summary: when I configure systemd at rhel7.2 ,configure: error: *** libmount support required but libraries not found
Product: Red Hat Enterprise Linux 7 Reporter: muahao <muahao>
Component: systemdAssignee: systemd-maint
Status: CLOSED NOTABUG QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: systemd-maint-list
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-14 10:05:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description muahao 2016-09-14 07:24:58 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.

OS : rhel7.2 
systemd: 
[root.zmf /home/ahao.mah/muahao_git/systemd]
#systemctl --version
systemd 219
+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN

[root.zmf /home/ahao.mah/muahao_git/systemd]
#rpm -qa | grep libmount
libmount-devel-2.23.2-26.1.alios7.x86_64
libmount-2.23.2-26.1.alios7.x86_64



[root.zmf /home/ahao.mah/muahao_git/systemd]
#ls
aclocal.m4      coccinelle    configure       HACKING          m4               mkosi.build    README            sysctl.d       tmpfiles.d
autogen.sh      CODING_STYLE  configure.ac    hwdb             Makefile.am      mkosi.default  README.md         system-preset  TODO
autom4te.cache  config.h.in   DISTRO_PORTING  input            Makefile.in      network        rules             sysusers.d     tools
build-aux       config.h.in~  docs            LICENSE.GPL2     Makefile-man.am  NEWS           shell-completion  tags           units
catalog         config.log    factory         LICENSE.LGPL2.1  man              po             src               test           xorg

[root.zmf /home/ahao.mah/muahao_git/systemd]
#./autogen.sh c

xxx
xxx
xxx
checking whether IFA_FLAGS is declared... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... no
checking for XKBCOMMON... no
checking for BLKID... no
checking for MOUNT... no
configure: error: *** libmount support required but libraries not found





Can anybody help me ?   Why configure failed?



Actual results:
when I #rpm -qa | grep libmount libmount ,this problem occurred also, 

Expected results:


Additional info:

Comment 2 Lukáš Nykrýn 2016-09-14 10:05:36 UTC
I am sorry but I can't help you. It looks that you are using some clone of rhel (alios7?).
I can only give you some general advices like, try yum-buildep tool to be sure that you have everything that is needed for build of systemd and if you have correct paths to libraries.