大网数据广告活动
服务器运维问答

Samba 4.9.0 ./configure lmdb error

· 52CE 我爱测

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 an…

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-09-19)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。