Hello,
 
I have re compiled DBI 1.601(first) and then DBD::Oracle 1.18a (second),
both gone through OK without any errors.
 
But when I started testing my perl script, I am receving below errors.
Is anything wrong with the recompilation.
 
Can't load
'/etdhub-as1/apps/perl-5.8.6/lib/site_perl/5.8.6/sun4-solaris/auto/DBI/D
BI.so' for module DBI: ld.so.1: test.pl: fatal:
/etdhub-as1/apps/perl-5.8.6/lib/site_perl/5.8.6/sun4-solaris/auto/DBI/DB
I.so: wrong ELF class: ELFCLASS64 at
/etdhub-as1/apps/perl-5.8.6/lib/5.8.6/sun4-solaris/DynaLoader.pm line
230.
 at /etdhub-as1/apps/perl-5.8.6/lib/site_perl/5.8.6/sun4-solaris/DBI.pm
line 266
BEGIN failed--compilation aborted at
/etdhub-as1/apps/perl-5.8.6/lib/site_perl/5.8.6/sun4-solaris/DBI.pm line
266.
Compilation failed in require at
/etdhub-as1/apps/perl-5.8.6/lib/site_perl/5.8.6/sun4-solaris/DBD/Oracle.
pm line 16.
BEGIN failed--compilation aborted at
/etdhub-as1/apps/perl-5.8.6/lib/site_perl/5.8.6/sun4-solaris/DBD/Oracle.
pm line 16.
Compilation failed in require at ./test.pl line 13.
BEGIN failed--compilation aborted at ./test.pl line 13.

Thanks
Vijay
-----Original Message-----
From: John Scoles [mailto:[EMAIL PROTECTED] 
Sent: 08 January 2008 13:22
To: Kasi, Vijay (London); Martin Gainty
Cc: [email protected]; [EMAIL PROTECTED]
Subject: RE: Segmentation Fault(Core dumped)



        check out the readmes file that comes with DBD::Oracle
http://svn.perl.org/modules/dbd-oracle/trunk/README it has good
instructions there.  Not sure what your OS and enviornment settings are
so I can't be that specific.
         
        but in six lines
         
        1) Ensure Perl, and DBI are installed and you have  gcc compiler
on you box
        2) go to the DBD::Oracle dir 
        3) type 'perl Makefile.PL'
        4) then 'make'
        5) then 'make test'
        6) then 'make install'
        
        
         
        

  _____  

                Subject: RE: Segmentation Fault(Core dumped)
                Date: Tue, 8 Jan 2008 12:37:44 +0000
                From: [EMAIL PROTECTED]
                To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
                CC: [email protected]; [EMAIL PROTECTED]
                
                
                John/All,
                 
                Can you pls share steps to re compile the DBD::Oracle
module.
                 
                we have perl 5.8.6 installed on separate path and I am
not using the libraries under the oracle client (10.2.0) installation.
Can you pls let me know how I can recompile DBD module from its path.
                 
                Thanks
                Vijay

                        -----Original Message-----
                        From: John Scoles [mailto:[EMAIL PROTECTED] 
                        Sent: 07 January 2008 23:08
                        To: Kasi, Vijay (London); Martin Gainty
                        Cc: [email protected];
[EMAIL PROTECTED]
                        Subject: RE: Segmentation Fault(Core dumped)
                        
                        
                        You can try the -w or anything else you fancy it
will not help. As Peter said it is plain and simple. You change your
Oracle Database client you will have to recompile DBD::Oracle. 
                        
                        Sorry this is just the nature of the beast no
way around it. 
                        
                        
                        Just as an aside there is usually no gain in
speed (or anything else for that matter really) in updating the Oracle
drivers. 
                        
                        John Scoles
                        
                        > Subject: RE: Segmentation Fault(Core dumped)
                        > Date: Mon, 7 Jan 2008 16:51:58 +0000
                        > From: [EMAIL PROTECTED]
                        > To: [EMAIL PROTECTED]
                        > CC: [email protected];
[EMAIL PROTECTED]
                        > 
                        > Martin,
                        > 
                        > I have executed script with -w option and got
below result.
                        > 
                        > Scalar value @results{$fields} better written
as $results{$fields} at
                        > ./ETDHUB_NSE_REUTERS_DQ_REPORT.pl line 50.
                        > Scalar value @results1{$fields1} better
written as $results1{$fields1}
                        > at ./ETDHUB_NSE_REUTERS_DQ_REPORT.pl line 83.
                        > Segmentation Fault (core dumped)
                        > 
                        > Thanks
                        > Vijay
                        > 
                        > 
                        > 
                        > -----Original Message-----
                        > From: Martin Gainty
[mailto:[EMAIL PROTECTED] 
                        > Sent: 07 January 2008 16:24
                        > To: Kasi, Vijay (London)
                        > Subject: RE: Segmentation Fault(Core dumped)
                        > 
                        > 
                        > Vijay-
                        > 
                        > 
                        >
http://www.oracle-base.com/articles/misc/WebScriptingForOracle.php#perl
                        > can you enable diagnostics with -w
                        > 
                        >
#!/u01/app/oracle/product/10.1.0/db_1/perl/bin/perl -w
                        > 
                        > curious if you obtained the perl drivers from
oracle or cpan?
                        > 
                        > Cheers (from across the pond)
                        > Martin 
                        > 
                        > ______________________________________________
                        > Disclaimer and confidentiality note
                        > Everything in this e-mail and any attachments
relates to the
                        > official business of Sender. This transmission
is of a confidential
                        > nature and Sender does not endorse
distribution to any party other than
                        > intended recipient. Sender does not
necessarily endorse content
                        > contained within this transmission.
                        > 
                        > 
                        > > Subject: RE: Segmentation Fault(Core dumped)
                        > > Date: Mon, 7 Jan 2008 15:02:41 +0000
                        > > From: [EMAIL PROTECTED]
                        > > To: [EMAIL PROTECTED]
                        > > CC: [email protected]
                        > > 
                        > > Robert,
                        > > 
                        > > The code was running fine when I have used
Oracle 9.2.0
                        > version, we have
                        > > changed oracle client path to 10.2.0 (32 bit
libraries) this
                        > morning and
                        > > it started failing since.
                        > > 
                        > > When I try to execute any perl script, its
not givin any info
                        > on failure
                        > > except a single line error message ('
Segmentatino Fault (core
                        > dumped)'
                        > > 
                        > > Pls advise.
                        > > 
                        > > Thanks
                        > > Vijay
                        > > 
                        > > -----Original Message-----
                        > > From: Robert Roggenbuck
[mailto:[EMAIL PROTECTED] 
                        > > Sent: 07 January 2008 14:57
                        > > To: Kasi, Vijay (London)
                        > > Cc: [email protected]
                        > > Subject: Re: Segmentation Fault(Core dumped)
                        > > 
                        > > 
                        > > Please give us some more information. Can
You figure out where
                        > (= which 
                        > > lines) in Your script the code crashes?
                        > > 
                        > > Greetings
                        > > 
                        > > Robert
                        > > 
                        > > Kasi, Vijay (London) schrieb:
                        > > > Hello,
                        > > > 
                        > > > I am receiving 'Segmentation Fault (core
dumped)' error
                        > while
                        > > executing
                        > > > perl script on unix host. I am using
oracle 10.2.0 with perl
                        > 5.8.6 .
                        > > > 
                        > > > Can you pls advise what could be the
reason.
                        > > > 
                        > > > Path configured in my environment file :
                        > > > 
                        > > >
                        > >
                        >
/etdhub-as1/apps/perl-5.8.6:/etdhub-as1/apps/perl-5.8.6/bin:/etdhub-as1/
                        > > >
                        > >
                        >
apps/perl-5.8.6/lib/5.8.6/sun4-solaris:/etdhub-as1/apps/perl-5.8.6/lib/5
                        > > >
                        > >
                        >
.8.6:/etdhub-as1/apps/perl-5.8.6/lib/site_perl:/etdhub-as1/apps/perl-5.8
                        > > >
                        > >
                        >
.6/lib/site_perl/5.8.6:/etdhub-as1/apps/perl-5.8.6/lib/site_perl/5.8.6/s
                        > > >
                        > >
                        >
un4-solaris:/opt/sybase/OpenClient_v12.5.64Bit/OCS/bin:/etdhub-ds1/ora01
                        > > > /app/oracle/product/10.2.0/bin
                        > > > 
                        > > > Thanks
                        > > > Vijay
                        > > >
--------------------------------------------------------
                        > > > 
                        > > > This message w/attachments (message) may
be privileged,
                        > confidential
                        > > or proprietary, and if you are not an
intended recipient,
                        > please notify
                        > > the sender, do not use or share it and
delete it. Unless
                        > specifically
                        > > indicated, this message is not an offer to
sell or a
                        > solicitation of any
                        > > investment products or other financial
product or service, an
                        > official
                        > > confirmation of any transaction, or an
official statement of
                        > Merrill
                        > > Lynch. Subject to applicable law, Merrill
Lynch may monitor,
                        > review and
                        > > retain e-communications (EC) traveling
through its
                        > networks/systems. The
                        > > laws of the country of each sender/recipient
may impact the
                        > handling of
                        > > EC, and EC may be archived, supervised and
produced in
                        > countries other
                        > > than the country in which you are located.
This message cannot
                        > be
                        > > guaranteed to be secure or error-free. This
message is subject
                        > to terms
                        > > available at the following link:
                        > > http://www.ml.com/e-communications_terms/.
By messaging with
                        > Merrill
                        > > Lynch you consent to the foregoing.
                        > > >
--------------------------------------------------------
                        > > > 
                        > > 
                        > 
                        > 
                        > 
                        > _____ 
                        > 
                        > Share life as it happens with the new Windows
Live. Start
                        > sharing!
                        >
<http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_01
                        > 2008>
                        >
--------------------------------------------------------
                        > 
                        > This message w/attachments (message) may be
privileged, confidential or proprietary, and if you are not an intended
recipient, please notify the sender, do not use or share it and delete
it. Unless specifically indicated, this message is not an offer to sell
or a solicitation of any investment products or other financial product
or service, an official confirmation of any transaction, or an official
statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may
monitor, review and retain e-communications (EC) traveling through its
networks/systems. The laws of the country of each sender/recipient may
impact the handling of EC, and EC may be archived, supervised and
produced in countries other than the country in which you are located.
This message cannot be guaranteed to be secure or error-free. This
message is subject to terms available at the following link:
http://www.ml.com/e-communications_terms/. By messaging with Merrill
Lynch you consent to the foregoing.
                        >
--------------------------------------------------------
                        
                        
  _____  

                        Books, DVD's, gadgets, music and more. Shop
online with Sympatico / MSN Shopping today!
<http://shopping.sympatico.msn.ca/content/shp/?ctid=8338,ptnrid=176,ptnr
data=1761116&tcode=HolidayGuide>  


  _____  

        Books, DVD's, gadgets, music and more. Shop online with
Sympatico / MSN Shopping today!
<http://shopping.sympatico.msn.ca/content/shp/?ctid=8338,ptnrid=176,ptnr
data=1761116&tcode=HolidayGuide>  

Reply via email to