uwsgi启动提示找不到libpcre.so.1解决方法
发布时间:2020-08-06 02:20:56 所属栏目:Linux 来源:互联网
导读:uwsgi启动提示找不到libpcre.so.1解决方法
启动uwsgi提示:uwsgi: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory,意思是找不到libpcre.so.1这个模块,而导致启动失败。 [root@iZwz9i2uccu2qkhtzsdc6lZscript]#uwsgi uwsgi:errorwhileloadingsharedlibraries:libpcre.so.1:cannotopensharedobjectfile:Nosuchfileordirectory 经过搜索资料,发现部分linux系统存有的通病。要解决这个方法非常容易,直接输入以下命令: 如果是32位系统 [root@lee~]#ln-s/usr/local/lib/libpcre.so.1/lib 如果是64位系统 [root@lee~]#ln-s/usr/local/lib/libpcre.so.1/lib64 然后在启动nginx就OK了 [root@lee~]#/usr/local/webserver/nginx/sbin/nginx (编辑:鄂州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 存储 – Linux – 实际硬件RAID控制器调优(scsi和cciss)
- 连续监视linux中的目录,并在新文件可用时通知
- linux – 为for循环设置IFS然后在for循环中取消设置是否安全
- linux – 检测stdout是否被重定向到管道(而不是文件,字符设
- LINUX实操:使用Netplan进行快速网络配置
- awk中的字段分隔符可以包含多个字符吗?
- 从tmux会话中的vim复制的文本用右边的空格填充
- linux – DBus.ObjectManager.GetManagedObjects中缺少LEAd
- 如何在Python中打开命名的pipecharacter设备专用文件进行读
- linux-kernel – dirty_expire_centisecs的实现