IBM Support

Cannot load module error when using DB2 Perl driver with DB2 UDB Version 8 and above 64-bit for AIX 5.2

Question & Answer


Question

When using the DB2 Perl driver on DB2 UDB Version 8 and above 64-bit for AIX 5.2, you get the following error message: '/usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/DBD/DB2/DB2.so' for module DBD::DB2: 0509-022 Cannot load module /usr/opt/db2_08_01/lib/libdb2.a(shr.o). You are using a 32-bit Perl or you are not sure whether your Perl is 32-bit or 64-bit.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Programming Interface - Other","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"9.5;9.1;8","Edition":"Enterprise;Personal;Workgroup;Express","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
Db2 for Linux, UNIX and Windows

Software version:
9.5, 9.1, 8

Operating system(s):
AIX, Linux, Solaris

Document number:
79119

Modified date:
30 April 2025

UID

swg21181032

Manage My Notification Subscriptions