一个lighthttpd 错误的解决

来源:互联网 发布:mac apple store打不开 编辑:程序博客网 时间:2024/05/01 11:02

[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可以启动

原创粉丝点击