Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBI Module Location

Status
Not open for further replies.

dl4

Technical User
Nov 29, 2001
6
CA
hi,

With no root access to the server, I've had to install the DBI module manually into a directory i.e. /usr/home/username/

The installation process went thru with no errors. When I run a test script to see if the DBI is loaded, i get the usual error "can't locate DBI.pm in @INC.....".

The DBD::mysql module is installed as I can see it in the /usr/local/lib/site_perl and MYSQL is running fine.

I've added to the script:

use lib ' /usr/home/username;'
use DBI;

But, no luck. Also tried,

%setenv PERL5LIB \ /usr/home/username/usr/local/lib/perl5:/usr/home/username/usr/local/lib/perl5/site_perl


and still no go.

When I try to run a test to see if the DBD::mysql module is loaded, it says it can't find the DBI.pm....

My question is, why can't i locate the DBI files anywhere on the server?

Also, how do I uninstall the modules so I can do a clean install?

Thanks,

dl

 
Try this:
Code:
push @INC,"/use/home/username";
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top