一、1. 采用cpan的方式安装,失败,安装过程在http://www.weipengpeng.com/bbs/forum.php?mod=viewthread&tid=141&extra=page%3D1
Your LD_LIBRARY_PATH env var is set to ''
WARNING: Your LD_LIBRARY_PATH env var doesn't include '/u01/app/oracle/product/10.2.0/client_1/lib' but probably needs to.
三、再回头去准备用cpan install,结果:
[root@ftpsvr get_wm]# cpan install DBD::Oracle
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sun, 24 Jul 2011 23:27:17 GMT
install is up to date.
DBD::Oracle is up to date.
[root@ftpsvr get_wm]#
四、想想,先卸载掉吧,于是回到安装目录/tmp/DBD-Oracle-1.28去,执行make uninstall
结果:
Uninstall is unsafe and deprecated, the uninstallation was not performed.
We will show what would have been done.
Uninstall is unsafe and deprecated, the uninstallation was not performed.
Please check the list above carefully, there may be errors.
Remove the appropriate files manually.
Sorry for the inconvenience.
Can't load '/root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: /u01/app/oracle/product/10.2.0/client_1/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.