Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
Expand all | Collapse all

Perl issue after migrating from AIX 7.1 to 7.2

  • 1.  Perl issue after migrating from AIX 7.1 to 7.2

    Posted Fri March 18, 2022 12:44 PM
    Good Morning All,

    I am new to this and if anyone can help out I would be greatly appreciated.. 

    I migrated my AIX system from 7.1x to 7200_05_03_2148 and it appears it broke our Perl scripts. 

    When we attempt to run our Perl scripts we get the following:

    "Can't locate DBI.pm in @INC (you may need to install the DBI module) (@INC contains: /usertmp/iradirect/common/modules /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.28.1 /usr/opt/perl5/lib/5.28.1/aix-thread-multi /usr/opt/perl5/lib/5.28.1 /usr/opt/perl5/lib/site_perl)"

    The DBI module is used to connect to the Oracle DB.

    In our DEV, now that the upgrade has been done the Perl version is: This is perl 5, version 28, subversion 1 (v5.28.1) built for aix-thread-multi

    In our QA, where the upgrade has not been done the Perl version is: This is perl 5, version 12, subversion 3 (v5.12.3) built for aix

    The DBI.pm module listed in the error message is not found. It appears there is a missing install of the DBI package maybe?

    Any assistance would be greatly appreciated..

    Thanks,
    Frank

    ------------------------------
    Frank Malvestuto
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Perl issue after migrating from AIX 7.1 to 7.2

    Posted Fri March 18, 2022 01:23 PM
    Hi Frank,

    This would help https://github.com/ibmdb/perl_DBD-DB2/blob/master/README
    You need to have xlc compiler to be installed to install DB2.

    ------------------------------
    SANGAMESH
    ------------------------------