问题原文
原帖链接 · user2827958 · CC BY-SA 4.0
I'm very new to Linux and installing Samba and I'm trying to make my Centos 7 into a ADDC.
However, whenever I want to configure I get the following message:
Checking for lmdb >= 0.9.16 via header check : not found
Samba AD DC and --enable-selftest requires lmdb 0.9.16 or later
When using yum install lmdb it says it's already installed.
[root@localhost samba-4.9.0]# yum install lmdb
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.standaloneinstaller.com * epel: mirrors.powernet.com.ru * extras: ftp.rezopole.net * updates: distrib-coffee.ipsl.jussieu.fr Package lmdb-0.9.22-2.el7.x86_64 already installed and latest version
Nothing to do
已采纳解答
原帖链接 · Colt · CC BY-SA 4.0
The actual dependency to install (for Red Hat Enterprise Linux 7 / CentOS 7 / Scientific Linux 7) is lmdb-devel.
Rather than following some random tutorial for a now EOL version of Samba, you might be better off following the official (and up to date) Samba guidance: Build Samba from Source, Package Dependencies Required to Build Samba, Setting up Samba as an Active Directory Domain Controller
To be sure, the tutorial to which you linked DOES NOT list the current Samba dependencies for CentOS 7.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
