无法在 RHEL 8 上安装 libmcrypt-2.5.8.tar.gz 和 mycrypt-1.0.4.gz
我尝试在 RHEL 8 上安装 mycrypt-1.0.4,但显示 mycrypt.h 错误,请重新安装 libmcrypt。 因此,我尝试安装 libmcrypt 并将 libmcrypt-2.5.8.tar.gz 复制到 tmp 文件夹中。现在,当我运行此命令时,
sudo dnf install /tmp/libmcrypt-2.5.8.tar.gz
它会抛出错误。我在这里做错了什么?请纠正我。
Error: Unable to find a match: /tmp/libmcrypt-2.5.8
I am trying to install mycrypt-1.0.4 on RHEL 8 and it says mycrypt.h error Reinstall libmcrypt.
So, I am trying to install libmcrypt and I copied libmcrypt-2.5.8.tar.gz into tmp folder. Now when I ran this command
sudo dnf install /tmp/libmcrypt-2.5.8.tar.gz
it throws error. What I am doing wrong here? Please correct me.
Error: Unable to find a match: /tmp/libmcrypt-2.5.8
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
mcrypt-1.0.4
是一个“php”模块,需要与pecl
一起安装。参考号https://pecl.php.net/package/mcrypt
0
# dnf install epel-release
1
# dnf install php-devel libmcrypt-devel php-pear
2。
# pecl install mcrypt
...这将针对 php-devel 和 libmcrypt-devel-2.5.8 构建“mcrypt-1.0.4”
到:/usr/lib64/php/modules/mcrypt.so
mcrypt-1.0.4
is a "php" module, to be installed withpecl
.Ref. https://pecl.php.net/package/mcrypt
0
# dnf install epel-release
1
# dnf install php-devel libmcrypt-devel php-pear
2.
# pecl install mcrypt
... which will build "mcrypt-1.0.4" against php-devel and libmcrypt-devel-2.5.8
to :
/usr/lib64/php/modules/mcrypt.so