mysql和mod_perl2安装过程中几个问题解决办法
来源:互联网 发布:什么时候出5g网络 编辑:程序博客网 时间:2024/06/05 02:40
1.安装mysql过程中报出如下错误:
/usr/local/mysql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
出现问题原因,缺少必要到libaio,在Ubuntu上解决办法如下:
$sudo apt-get install libaio1 libaio-dev
在Fedora和CentOS上解决办法如下:
$yum install libaio
2.使用perl在线安装moda_perl2过程中报出如下错误:
Next we need to know where the 'apxs' script is located. This script
provides a lot of information about the Apache installation, and makes
it easier to find things on your system. Normally it's located in the
same directory as the 'httpd' executable.
If you don't yet have Apache installed you can build Apache against
the Apache source code, but you won't be able to run the test suite (a
very important step). Therefore you may want to install Apache before
proceeding.
Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed):
Please provide the location of the Apache directory:
改变安装方法,下载mod_perl2的源码包,这里安装到mod_perl2版本为2.0.7,依次执行命令如下:
$cd mod_perl-2.0.7
$perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
然后执行make等安装步骤即可,报错到原因是没有找到apxs,直接告诉安装程序apxs的地址即可,一般都是在apache的安装目录里面。
3.在安装mod_perl2的make阶段报出如下错误:
\
-o mod_perl.so
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[1]: *** [mod_perl.so] Error 1
make[1]: Leaving directory `/home/bourne/Downloads/mod_perl-2.0.7/src/modules/perl'
make: *** [modperl_lib] Error 2
原因是缺少libperl函数库文件,安装即可:
$sudo apt-get install libperl-dev
- mysql和mod_perl2安装过程中几个问题解决办法
- mysql数据库安装过程的几个问题
- code:blocks安装的过程中几个问题
- linux驱动编写过程中遇到的几个问题及解决办法
- 关于sybase和oracle安装过程中经常遇到的几个问题
- Mysql安装过程中遇到的问题及解决办法
- mysql数据库安装过程中遇见的问题及解决办法
- 安装mysql过程中卡在starting server解决办法
- SecureCRT安装与使用过程中遇到的几个问题
- mysql5.7.14源码安装过程中碰到的几个问题.
- 安装Scrapy过程中遇到的几个问题总结
- Eclipse 安装SVN 和 安装中常见的几个问题
- 关于:MySQL 安装过程中出现“could not start the service mysql error:0”的解决办法。
- MySql安装过程以及中文乱码解决办法
- MySQL 5.1 安装过程中报apply security setting错误的解决办法
- MySQL 安装过程中报apply security setting错误的解决办法
- centos安装 MySQL Workbench 过程中出现 Requires libtinyxml.so.0()解决办法
- 安装sql Server 2000 几个问题的解决办法
- 找到一个还算灵活的禁止优盘的方法
- iframe自适应大小
- 从面相看你能否成为有钱人
- 得到WebBrowser中加载的页面的html文本-MFC
- 静态方法中调用非静态方法
- mysql和mod_perl2安装过程中几个问题解决办法
- 标准之路-http://www.aa25.cn-网页设计
- C#如何使用GetTcpTable API获取TCP/IP连接信息
- 100M和1000M网线做法
- POJ 3438 Look and Say (水题)
- 孖宝英语-视频分享
- VC++ 获取跳转后的url函数实现及相关资料
- 反调试-----由IsDebuggerPresent函数看下去
- iOS KVC 存在的问题