Bug 1375883 - when I configure systemd at rhel7.2 ,configure: error: *** libmount support required but libraries not found
Summary: when I configure systemd at rhel7.2 ,configure: error: *** libmount support r...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemd
Version: 7.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: systemd-maint
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-14 07:24 UTC by muahao
Modified: 2016-09-14 10:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-14 10:05:36 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.