Re: Perl DBI libraries for connecting 12c
"Martin J. Evans" via dbi-users <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
On 10/10/17 00:07, Bruce Johnson wrote: > >> On Oct 9, 2017, at 3:52 PM, John R Pierce <[email protected]> wrote: >> >> On 10/9/2017 2:49 PM, Furst, Carl wrote: >>> I believe you have to go to Oracle to get those.. You can get DBI and even DBB::Oracle but it won’t build. You won’t have the Oracle C libs to link off of. You’ll need to install an oracle client library. >> >> >> as I recall, to use CPAN and build modules that work with the Solaris Perl, you have to have the Sun/Oracle Studio C compiler (formerly called Forte), not GCC, unless you leap through some hoops. >> >> This used to work, but I've not been down these bunny trails for years and years : http://search.cpan.org/~aburlison/Solaris-PerlGcc-1.3/pod/perlgcc.pod ... you also need to make sure you installed the full oracle developer stuff as part of the client. > > With Instant Client you have to install the Basic and the SDK packages. The latter gets the developer header files and libs that DBD::Oracle uses to compile the c code. > You should probably get the sqlplus package as well as it is used if found, to determine the version of Oracle client you are using. Without it, the Makefile might assume you are oracle 8. Martin