一个lighthttpd 错误的解决

[root@HP07110086 data1]# /data1/lighttpd/bin/start.sh
/data1/lighttpd//sbin/lighttpd: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

 

##############################

解决办法

[root@HP07110086 vshare]# yum install libpcre3
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
Setting up Install Process
Parsing package install arguments
No package libpcre3 available.
Nothing to do
[root@HP07110086 vshare]# yum install pcre
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
Setting up Install Process
Parsing package install arguments
Package pcre - 6.6-2.el5_1.7.x86_64 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package pcre.i386 0:6.6-2.el5_1.7 set to be updated
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 pcre                    i386       6.6-2.el5_1.7    base              112 k
 
Transaction Summary
=============================================================================
Install      1 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        
 
Total download size: 112 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): pcre-6.6-2.el5_1.7 100% |=========================| 112 kB    00:00    
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <centos-5-key@centos.org>" from http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: pcre                         ######################### [1/1]
 
Installed: pcre.i386 0:6.6-2.el5_1.7
Complete!

之后light可以启动

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值