mysql和mod_perl2安装过程中几个问题解决办法
2013-11-08 16:38
621 查看
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
/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
相关文章推荐
- linux下mysql的卸载、安装全过程及遇到"MySQL提示:The server quit without updating PID file问题的解决办法"
- mysql安装版和解压版安装过程遇到1067的问题,和数据库乱码问题 解决办法
- mysql5.7.19在centos虚拟机下手动(离线)安装配置过程与一些问题解决办法
- Mysql5.7.19 winx64安装过程遇到的问题及解决办法
- Mysql安装过程中遇到的问题及解决办法
- 安装xampp过程中启动mysql“卡住”问题解决办法
- 安装使用Android Studio时可能出现的几个问题解决办法
- 记一次wordpress安装过程中遇到的问题及解决办法
- Linux下安装Mysql与配置(附带遇到的各种问题的解决办法)
- MySQL 5.1 安装过程中报apply security setting错误的解决办法
- 安装sql Server 2000 几个问题的解决办法
- cmake编译安装mysql报错问题解决办法
- 关于安装mysql 5.7时遇到的默认root无法登陆或者找不到data文件夹的问题的一些解决办法
- django2源码安装xadmin过程中遇到模块缺少,如No module named 'crispy_forms'等问题解决办法
- Ubuntu 12.04(32位)安装Oracle 11g(32位)全过程以及几乎所有问题的解决办法
- MySQL集群架构以及本人配置过程中出现的问题及解决办法
- 安装MySQL的一些问题以及解决办法
- 安装Ubuntu版本linux过程中没有提示设置root用户密码问题的解决办法
- mysql数据库安装过程中遇见的问题及解决办法
- mysql源码安装的几个问题解决方法