Can't locate Config.pm in @INC

修改时间 26-NOV-2008     类型 PROBLEM     状态 PUBLISHED  

Applies to:  Application Install – Version: 11.5.9

This problem can occur on any platform. Symptoms

When running the following command to generate the context file using note 165195.1

perl adbldxml.pl tier=db appsuser=apps appspasswd=apps

the following error occurs : ERROR

Can’t locate Config.pm in @INC (@INC contains:

/…/perl/lib/5.00503/i686-linux //src/buildarea/asg_apache/pre_shiphome/perl/lib/5.00503

//src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005

/i686-linux

//src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005

.) at adbldxml.pl line 32.

BEGIN failed–compilation aborted at adbldxml.pl line 32. Cause

Not able to locate perl therefore not able to execute the perl script. Solution

To implement the solution, please execute the following steps: 1.Check which perl is being used. $ which perl

$ perl -version 2. Make sure that the perl is in PATH and the environment file is sourced.

    Before implementing autoconfig, at the step of running adbldxml.pl,

    the applications environment file will not be created,

    therefore you can use the perl delivered by OS.     The required variables like the PERL5LIB are dynamically created by the script.
本文转自ITPUB博客tolywang的博客,原文链接:Can’t locate Config.pm in @INC,如需转载请自行联系原博主。

点赞