'rm /usr/bin/perl'

and then 

'ln -s /usr/local/bin/perl /usr/bin/perl'

Or you could use "/usr/local/bin/perl" in the code, instead of /usr/bin/perl.

I would do the link, it insures that you are always getting the same version.

On 04-Feb-2003 Chamlee, Douglas, B. (Contractor) wrote:
> This is what I got. I admit to installing the perl5.6.1 but only after the
> problem occured. Is there some way that I can tell the DBI and DBD which
> version to use and get the path problems corrected.
> 
> /usr/bin/perl -v = perl5.004_05 built for IRIX-n32
>  /usr/local/bin/perl -v = perl5.6.1 built for IP27-irix
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 04, 2003 9:48 AM
> To: Chamlee, Douglas, B. (Contractor)
> Cc: Saldana, Salvador E. (Contractor); [EMAIL PROTECTED]
> Subject: RE: DBI and DBD not found
> 
> 
> 
> Did the Os upgrade include a Perl?  If it did, it is usually in /usr/bin
> which 
> would not know that you have DBI/DBD installed. 
> 
> check,
>  /usr/bin/perl -v 
>  /usr/local/bin/perl -v 
> 
> ..see if the versions are the same.
> 
> On 04-Feb-2003 Chamlee, Douglas, B. (Contractor) wrote:
>> I recently upgraded the OS on my SGI (UNIX) system and after word my web
>> database connection tells me that it cannot find the DBI or the DBD
> modules.
>> Everything worked fine before the upgrade and the OS was the only thing
>> upgraded the perl, DBI and DBD were NOT upgraded. This problem has been
>> torturing me for a week now and any help or suggestions would be greatly
>> appreciated.
>> 
>> This is a help desk application called Wonderdesk that connects to a MySQL
>> database. Here is the error the database test returns:
>> 
>> Welcome to WonderDesk SQL Required Libs Test!
>> ---------------------------
>> 
>> Checking for required modules:
>>       CGI module       ... version 2.752 ok!
>>       DBI module not found! You can find this at:
>> http://www.perl.com/CPAN/modules/by-module/DBI/
>>       DBD-Mysql module not found! You can find the DBD-Mysql module at:
>> http://www.perl.com/CPAN-local/modules/by-module/DBD/
>> 
>> Aborting.. please install the required modules and rerun the test
>> 
> 
> ----------------------------------
> E-Mail: [EMAIL PROTECTED]
> Date: 04-Feb-2003
> Time: 10:46:04
> ----------------------------------

----------------------------------
E-Mail: [EMAIL PROTECTED]
Date: 04-Feb-2003
Time: 11:02:56
----------------------------------

Reply via email to