perl xttdriver.pl fails: Can't locate Getopt/Long.pm in @INC (Doc ID 1912400.1)

Posted chendian0

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了perl xttdriver.pl fails: Can't locate Getopt/Long.pm in @INC (Doc ID 1912400.1)相关的知识,希望对你有一定的参考价值。

 

 

 
Copyright (c) 2019, Oracle. All rights reserved. Oracle Confidential.
技术图片
 
技术图片
 
技术图片 技术图片 技术图片To Bottom 技术图片

技术图片

In this Document

  Symptoms
  Cause
  Solution

 

This document is being delivered to you via Oracle Support‘s Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Information in this document applies to any platform.

SYMPTOMS

Following the instructions in Reduce Transportable Tablespace Downtime using Cross Platform Incremental Backup (Doc ID 1389592.1):

executing $ORACLE_HOME/perl/bin/perl xttdriver.pl -p fails: 

>$ORACLE_HOME/perl/bin/perl xttdriver.pl -p

Can‘t locate Getopt/Long.pm in @INC (@INC contains: /ade/stvobadm_perl_583_build/perl/bin/Solaris/Opt/lib/5.8.3/sun4-solaris-thread-multi /ade/stvobadm_perl_583_build/perl/bin/Solaris/Opt/lib/5.8.3 /ade/stvobadm_perl_583_build/perl/bin/Solaris/Opt/lib/site_perl/5.8.3/sun4-solaris-thread-multi /ade/stvobadm_perl_583_build/perl/bin/Solaris/Opt/lib/site_perl/5.8.3 /ade/stvobadm_perl_583_build/perl/bin/Solaris/Opt/lib/site_perl .) at xttdriver.pl line 43.
BEGIN failed--compilation aborted at xttdriver.pl line 43.

CAUSE

PER5LIB environment variable is unset.
 

SOLUTION

% export PERL5LIB=$ORACLE_HOME/perl/lib

以上是关于perl xttdriver.pl fails: Can't locate Getopt/Long.pm in @INC (Doc ID 1912400.1)的主要内容,如果未能解决你的问题,请参考以下文章

访问RK3399 ubuntu系统时,提示perl: warning: Setting locale failed

perl: warning: Setting locale failed 以及 Unable to locate package language-pack-zh-hans

centos5.6x64安装smokeping遇到checking checking for perl module 'RRDs'... Failed

CentOS7 安装 mondorescue时,出错Failing package is: perl-IO-Interface-1.05-2.el7.x86_64

CentOS7 安装 mondorescue时,出错Failing package is: perl-IO-Interface-1.05-2.el7.x86_64

install_driver(mysql) failed