Re: Can't locate DBI.pm



On 04/27/2005 01:22 PM, Chekuri, Lalitha said:

It is fresh install:
magma:oracle $uname -a
SunOS magma 5.9 Generic_117171-12 sun4u sparc SUNW,Ultra-60

My perl -v magma:oracle $perl -v

This is perl, v5.6.1 built for sun4-solaris-64int
(with 48 registered patches, see perl -V for more detail)

For CC:
magma:oracle $what cc
can't open cc (26)
magma:oracle $which cc
/usr/ucb/cc
magma:oracle $cc
/usr/ucb/cc:  language optional software package not installed

It is exactly as Ron and Michael Nhan said, you need to either install the same compiler that was used to build your perl or you need to build perl with the comipler you have


Modules __MUST__ be built with the same compiler that was used to build perl.

--
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
.



Relevant Pages

  • Re: how to connect postgresql database with perl
    ... > How to connect postgresql database with perl? ... and execute in the DBI manual. ... Give a hobbit a ring and he eats fish for an age. ...
    (perl.dbi.users)
  • Re: help on dbi error
    ... Perl modules and read and execute permission for any shared libraries, ... Give a hobbit a ring and he eats fish for an age. ...
    (perl.dbi.users)
  • Re: Upgrading Perl and Solaris on a unix box
    ... > client software only has installation modules for solaris 5.8 and ... but it's a good time to ugrade everything in the Perl tree. ... Give a hobbit a ring and he eats fish for an age. ...
    (perl.dbi.users)
  • RE: problem installing DBD-mysql-2.9002 on OS X 10.2.8 (perl 5.8. 1)
    ... problem installing DBD-mysql-2.9002 on OS X 10.2.8 (perl ... Give a hobbit a ring and he eats fish for an age. ...
    (perl.dbi.users)
  • Re: Help me - DBD for Oracle 9
    ... DBD::Oracle will build against Oracle 9. ... lib/ because Oracle is frequently 64 bit while Perl is usually 32 bit. ... Give a hobbit a ring and he eats fish for an age. ...
    (perl.dbi.users)