- 论坛徽章:
- 0
|
执行mysqlreport后
[root@localhost ~]# ./mysqlreport
报错:
install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: __pure_virtual at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 6) line 3
Compilation failed in require at (eval 6) line 3.
Perhaps a required shared library or dll isn't installed where expected
at ./mysqlreport line 160
我已经安装
DBD-mysql-4.005
DBI-1.58
后来用想用cpan 重新安装mysql-DBI-perl 和 DBD-mysql
可是不过执行什么命令
都报错:
[root@localhost ~]# cpan
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install Bundle::CPAN
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Warning: Found only 0 objects in /root/.cpan/Metadata
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
/authors/01mailrc.txt.gz
LWP failed with code[400] message[URL must be absolute]
Please check, if the URLs I found in your configuration file ( ) are valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'
Could not fetch authors/01mailrc.txt.gz
Fetching with LWP:
/modules/02packages.details.txt.gz
LWP failed with code[400] message[URL must be absolute]
Please check, if the URLs I found in your configuration file ( ) are valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'
Could not fetch modules/02packages.details.txt.gz
Fetching with LWP:
/modules/03modlist.data.gz
LWP failed with code[400] message[URL must be absolute]
Please check, if the URLs I found in your configuration file ( ) are valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'
Could not fetch modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Warning: Cannot install Bundle::CPAN, don't know what it is.
Try the command
i /Bundle::CPAN/
to find objects with matching identifiers.
各位帮忙看看,有什么方法能解决? |
|