Re: DBI.pm - Memoryfault(coredump)

"Garry T. Williams" <[email protected]> Tue, 27 Oct 2020 13:23:40 -0400
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <2552110.mvXUDI8C0e@gtw>
On Tuesday, October 27, 2020 1:18:29 PM EDT Bruce Johnson wrote:
> Or the client isn’t installed or the environment variables are not
> set properly, or, or...
>
> RHEL, Fedora and CentOS do NOT include DBD::Oracle in their
> pre-built perl modules. Like Gary I’ve always had to build it with
> CPAN. You need to have an Oracle client setup installed first.
>
> By far the simplest method is to install the Oracle Instant Client,
> (literally download the rpms from Oracle and run  yum localinstall
> rpmfile.rpm )  you need the base IC and the SDK rpms.
>
> I usually also install the SQL*Plus package but that is not strictly
> necessary. It is, however, very useful for troubleshooting
> connectivity.
>
> Then establish the ORACLE_HOME, LD_LIBRARY_PATH and TNS_ADMIN
> Environment variables and appropriate config file for the latter,
> then build DBD::Oracle in CPAN. I've never had an issue doing it
> that way.
>
> If you’re using JDBC I think all you need is the base client
> install.

+1

-- 
Garry T. Williams