perl adbldxml.pl報錯BEGIN failed--compilation aborted at adbldxml.pl line 32

tolywang發表於2012-03-04
生成資料庫的xml (DB層操作)
cd   $ORACLE_HOME/appsutil/bin
perl  adbldxml.pl
 
$ 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.
 
 
參考檔案    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部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-717649/,如需轉載,請註明出處,否則將追究法律責任。

相關文章