Re: Perl in oracle 10.2.0.3 on 64 BIT OS



On 2008-05-19 17:17:22 -0700, Jonathan Leffler wrote:
On Mon, May 19, 2008 at 11:49 AM, Shanmugam, Dhandapani <
dhandapani.shanmugam@xxxxxxx> wrote:

Does PERL support 64-bit operating systems?

Yes.

Kindly help me on how should
perl work on Oracle 64-bit Solaris Operating system . Am getting the
below error

[bash]perl create_ddl.pl Can't locate DBI.pm in @INC

So, you haven't installed DBI yet. You will have to do that before you can
use it.

For example, you must have DBI installed before installing DBD::Oracle.

Given that the install is currently using Perl 5.8.3, you should build your
own Perl, either 5.8.8 or 5.10.0, and then install it in a location of your
own choosing (rather than messing with the system version)

The install path looks strange:

/ade/stvobadm_perl_583_build/perl/bin/Solaris/Opt

I don't know where Solaris puts their files (last version of Solaris I
used was 2.7 or maybe 8, I think), but I doubt that this is the system
version.

I have seen similarly crazy paths in the perl distributed with Oracle
Application Server. OAS sets up the environment in such a way that it
does work (on Fridays at full moon), but it is still a pain. I suspect
that this version of perl is also distributed as part of some
application and not intended to be standalone.

I agree that the OP should just get a current version of perl (I guess
there are binary packages available for solaris, or he can compile it
himself) instead of trying to beat a messed-up version into submission.

(If he needs to use perl *as part of* an application he should pester
their tech support)

and then get on with installing DBI and its pre-requisites and then
install DBD::Oracle.

I can't answer for whether DBD::Oracle supports 64-bit systems, but it would
be astonishing (to me) if it did not do so.

It works at least on 64-bit Linux. I believe 64-bit HP-UX has been
mentioned on this list, too.

hp

--
_ | Peter J. Holzer | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR | I'd be programming in Java.
| | | hjp@xxxxxxxxx | I don't, and I'm not.
__/ | http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users

Attachment: pgp2aUOtd0hVo.pgp
Description: PGP signature



Relevant Pages

  • Re: attempt to build 64 bit on Solaris fails
    ... > libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... > Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Re: attempt to build 64 bit on Solaris fails
    ... libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Problems building DBD 1.51 on Solaris 9
    ... I have not found anything in google that has helped with with this problem, aside from that I should be using a compiler that was built on Solaris 9. ... I built gcc 4.1.1 on Solaris 9, then used that to build the 64 bit Perl on the same host. ... I can install CPAN with this version of Perl, but had not been able to build DBD 1.5.1. ...
    (perl.dbi.users)
  • RE: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6
    ... Solaris 10 with gcc 3.4.6 ... Make problem Building 64 bit Perl 5.8.8 from source on ... INSTALL notes and have looked through the hints script. ... compiler or make any changes to the system directories. ...
    (perl.dbi.users)
  • Re: DBD::Oracle Install Mystery
    ... getting trying to install DBD::Oracle: ... Looking at your compile line above I'm guessing you are using Oracle 8.1.6 and that OCI_FETCH_CURRENT was not available in 8.1.6)or at least not defined). ... get a recent instant client and instant client sdk and compile DBD::Oracle against that. ... Perl 5.10 recently installed with gcc, ...
    (perl.dbi.users)