Samba 安裝時 LDAP 找不到?! - BBS

Table of Contents

小弟是個BSD 新手

用Port裝 Samba 3 的時候 出現了 這段 Error

===> samba-3.3.2 depends on shared library: ldap-2.4.3 - not found
===> Verifying install for ldap-2.4.3 in /usr/ports/net/openldap24-client
===> Patching for openldap-client-2.4.11
===> Applying FreeBSD patches for openldap-client-2.4.11
Ignoring previously applied (or reversed) patch.
3 out of 3 hunks ignored--saving rejects to configure.rej
=> Patch patch-configure failed to apply cleanly.
=> Patch(es) patch-build::top.mk applied cleanly.
*** Error code 1

Stop in /usr/ports/net/openldap24-client.
*** Error code 1

Stop in /usr/ports/net/samba33.
*** Error code 1

Stop in /usr/ports/net/samba33.

看起來應該是沒有找到 Openldap

然後小弟又去 ports/net/openldap24-client 目錄下

make install clean

結果他也出現一樣的訊息耶

===> Patching for openldap-client-2.4.11
===> Applying FreeBSD patches for openldap-client-2.4.11
Ignoring previously applied (or reversed) patch.
3 out of 3 hunks ignored--saving rejects to configure.rej
=> Patch patch-configure failed to apply cleanly.
=> Patch(es) patch-build::top.mk applied cleanly.
*** Error code 1

這樣我應該怎麼做才可以順利的安裝起來呢?

當初再裝Samba的時候

它自己去找 LDAP的時候 有說他找不到 前後問了三次

要我自己給他路徑

================

===> Vulnerability check disabled, database not found
===> Extracting for openldap-client-2.4.11
=> MD5 Checksum OK for openldap-2.4.11.tgz.
=> SHA256 Checksum OK for openldap-2.4.11.tgz.
===> Patching for openldap-client-2.4.11
===> Applying FreeBSD patches for openldap-client-2.4.11
File to patch:

=================

但那是程式自己跑的

我也不知道給啥所以我就沒給 選No 就變成現在這樣子了 T_T

我要怎麼樣才可以讓他自己重新再去抓阿....

另 LDAP Server 是不是也要先裝起來呢?

請版上的先進們指點一下小弟吧~

感謝 啦~

--

All Comments