生成数据库的xml (DB层操作)
cd $ORACLE_HOME/appsutil/bin
perl adbldxml.pl
perl adbldxml.pl
oracrp3@dgitr02-ts $ perl adbldxml.pl
Can't locate Config.pm in @INC (@INC contains: /data01/crp3/oracrp3/db/tech_st/11.2.0.2/perl/lib/5.8.3 /data01/crp3/oracrp3/db/tech_st/11.2.0.2/perl/lib/site_perl/5.8.3 /data01/crp3/oracrp3/db/tech_st/11.2.0.2/appsutil/perl ../lib/5.10.0/aix-thread-multi-64all ../lib/5.10.0 ../lib/site_perl/5.10.0/aix-thread-multi-64all ../lib/site_perl/5.10.0 ../lib/5.10.0/aix-thread-multi-64all ../lib/5.10.0 ../lib/site_perl .) at adbldxml.pl line 32.
BEGIN failed--compilation aborted at adbldxml.pl line 32.
oracrp3@dgitr02-ts $
BEGIN failed--compilation aborted at adbldxml.pl line 32.
oracrp3@dgitr02-ts $
参考文件 Adbldxml.Pl Fails with "Can't locate Config.pm in @INC (@INC contains:" [ID 374538.1]
对比了其他测试环境, 发现版本有不同, 后面一个是 5.10.0. 一个是 5.8.3 , 修改后 export PERL5LIB=xxxxx 就可以了。
oradev@dgitr03-ts $ echo $PERL5LIB
/data01/dev/oradev/db/tech_st/11.2.0.2/perl/lib/5.10.0:/data01/dev/oradev/db/tech_st/11.2.0.2/perl/lib/site_perl/5.10.0:/data01/dev/oradev/db/tech_st/11.2.0.2/appsutil/perl
本文转自ITPUB博客tolywang的博客,原文链接:perl adbldxml.pl报错BEGIN failed--compilation aborted at adbldxml.pl line 32,如需转载请自行联系原博主。