- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我在我的 Mac OSX High Sierra
上安装了 ruby,但出于某种原因现在我的 php 安装遇到了问题。我正在使用 php 7.1
。
正在关注 this (也是here)Github建议,我试过了
brew 更新 && brew 重新安装 php71
安装的时候坏了
==> Pouring php@7.1-7.1.23.high_sierra.bottle.tar.gz
==> /usr/local/Cellar/php@7.1/7.1.23/bin/pear config-set php_ini /usr/local/etc/php/7.1/php.ini system
错误:
dyld: Library not loaded: /usr/local/opt/openldap/lib/libldap-2.4.2.dylib
Referenced from: /usr/local/Cellar/php@7.1/7.1.23/bin/php
Reason: image not found
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall php@7.1`
在终端中输入 php
会引发相同的错误。
我尝试过的其他事情:
brew unlink libldap && brew link libldap
- 但是 Homebrew 不支持 libldap
libldap
的问题并说要通过 brew install openldap
安装(我猜 libldap
被称为openldap
到 Homebrew)- 安装正常但没有解决问题我该如何解决这个问题?
最佳答案
根据 this issue ,你需要安装openldap
和libiconv
。
brew install openldap libiconv
我试过了,它适用于我的系统。我最初缺少 PHP intl
扩展。
关于php dyld : Library not loaded for libldap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52795110/
我有一个 openvpn 插件,它允许我使用 ldap 身份验证。但是我的 LDAP 目录包含别名,而且 openvpn-auth-ldap 似乎没有遵循它们。 - (id) initWithURL:
我在我的 Mac OSX High Sierra 上安装了 ruby,但出于某种原因现在我的 php 安装遇到了问题。我正在使用 php 7.1。 正在关注 this (也是here)Github
团队, 尝试在 docker 上运行时出现以下错误。它在Windows机器上工作正常- Unable to load shared library 'libldap-2.4.so.2' or one
我在 Linux 上使用 openLdap (libldap) 构建一个简单的 SSL 连接客户端。 我收到以下错误: ldap_set_option(pLdap, LDAP_OPT_X_TLS_RE
我是一名优秀的程序员,十分优秀!