KB Article #162847

libperlstub - further details on where to find it

Problem

--The readme.txt for the Perl exits (located in GWHOME/samples/run_time/scripts/perl and in GWHOME/run_time/scripts/perl) states that the libperlstub library must be referenced in order to use Perl exits. However, it is not made clear where to find it.

Resolution

* The file is located in the GWHOME/obj directory. Thus, you would use a command similar to the following to load it:

export p_perldll=/my/gateway/path/obj/libperlstub.so

* Its extension varies depending on the platform:

On AIX: libperlstub.a
On HPUX-PA-RISC: libperlstub.sl
On HPUX-Itanium, Linux and Solaris: libperlstub.so
On Windows: you need a separate Perl installation, and refer to its .dll (e.g., c:\perl\bin\perl58.dll).