HP-UX 11i Perl Version E.5.8.8.M Release Notes HP-UX 11i v1, HP-UX 11i v2, and HP-UX 11i v3 (766150-001, March 2014)

Building additional modules from CPAN
To build additional modules from Comprehensive Perl Archive Network (CPAN):
1. Download the additional modules from CPAN available at http://www.cpan.org/.
2. Build the modules for 32–bit:
/opt/perl_32/bin/perl Makefile.PL
make
make test
make install
NOTE: Also, you can build the modules for 64–bit. To do so:
/opt/perl_64/bin/perl Makefile.PL
make
make test
make install
Instructions for building DBD::Oracle module
To build DBD::Oracle module:
1. Download the DBD::Oracle module available at http://www.cpan.org/.
NOTE: Perl version 5.8.8 contains DBI module version 1.57. If you want to build any other
DBI version, you can download the DBI module from CPAN website. For instructions on building
the DBI module, see Building additional modules from CPAN.
2. Build DBD::Oracle module for 32–bit:
/opt/perl_32/bin/perl Makefile.PL
make
make test
make install
NOTE: Also, you can build the module for 64–bit. To do so:
/opt/perl_64/bin/perl Makefile.PL
make
make test
make install
If the following error is displayed when you run the make command:
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
Storage:
<ORACLE_HOME>/JRE/lib/PA_RISC/native_threads/libjava.sl
then you must export LD_PRELOAD environment variable.
To export LD_PRELOAD environment variable:
LD_PRELOAD=<ORACLE_HOME>/JRE/lib/PA_RISC/native_threads/libjava.sl
Use of LD_PRELOAD is similar to the use of libraries at the link line. Ensure that you use
LD_PRELOAD only for the application that needs it. For more information, see dld.sl(1M). You may
need to install the latest linker and dld patches. You can download the latest patches from the HP
Support Center. For Oracle 9i on HP-UX 11.23, LD_PRELOAD is not needed to build Oracle-DBD.
8