在 freebsd 8.1 上启动 newrelic-daemon 时出错
我已在生产环境中安装了 newrelic-deamon,但它无法启动。
当我尝试启动它(以 root 身份)时收到此错误消息
/libexec/ld-elf.so.1: Shared object "libz.so.4" not found, required by "newrelic-daemon"
如何修复此错误?
I have installed the newrelic-deamon on our production environment but its won't start.
I get this error message when I tries to start it ( as root )
/libexec/ld-elf.so.1: Shared object "libz.so.4" not found, required by "newrelic-daemon"
What to do to fix this error ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要解决 libz 问题,请从当前安装的 libz 版本创建到该文件的符号链接。它应该是 ABI 兼容的。
说明: PHP 代理是在 FreeBSD 7.0 上编译的。这是为了确保最大程度的 FreeBSD 渗透,因为理论上,在 FreeBSD 7 上编译的任何内容都应该在 FreeBSD 8 上开箱即用。当然,事实并非如此,因为升级 FreeBSD 系统的方法有无数种。
如果您还有任何其他问题,请通过[电子邮件受保护]与我们联系
To fix the libz problem create a symlink to that file from your currently installed libz version. It is supposed to be ABI-compatible.
Explanation: The PHP agent is compiled on FreeBSD 7.0. That is to ensure maximum FreeBSD penetration, because in theory, anything compiled on FreeBSD 7 should work out of the box on FreeBSD 8. Except of course, it doesn't, because there are countless ways of upgrading a FreeBSD system.
If you have any further issues, please contact us at [email protected]