Hi,

Now my admin guy has asked me to include different path and i did then i 
am getting following error
[EMAIL PROTECTED]:[/home/glrecdev/icrs]> perl dbp.pl
ld.so.1: perl: fatal: relocation error: file 
/tools/prod/apps/lib/site_perl/5.8.6/sun4-solaris//auto/DBI/DBI.so: symbol 
Perl_get_sv: referenced symbol not found
Killed
[EMAIL PROTECTED]:[/home/glrecdev/icrs]>

Please advise

Thanks and Regards
Srinivas Katti




[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
07/29/2008 06:05 PM


To
Srinivas KATTI/ia/[EMAIL PROTECTED]
cc
[email protected], [EMAIL PROTECTED]
Subject
Re: Perl+DBI question [C1]






On Mon, Jul 28, 2008 at 08:36:23PM +0530, Srinivas KATTI wrote:
> Hi 
> 
> I am working on perl assignment which is first perl code in our 
> environment, i have come across following problem, pls if you could 
> provide your expert consultansy it will be great help to me
> 
> I am trying to use DBI in my program (simple program), below is the 
piece 
> of code
> 
> 
************************************************************************************************************************************************
> #!/usr/bin/perl -w
> #use lib '/tools/dev/perl_modules/DBI/1.48/DBI-1.48';
> 
> BEGIN {
>         push @INC,"/tools/dev/perl_modules/DBI/1.48/DBI-1.48";

I'd guess that you're refering to the directory you unpacked & built
the DBI in. Don't do that, it won't work.

After "perl Makefile.PL", "make", and "make test" you should "make 
install"
to install the appropriate files into the appropriate directories.

You can change where the files get put using either the INSTALL_BASE=...
or PREFIX=... arguments to "perl Makefile.PL", See "perldoc
ExtUtils::MakeMaker" for more information.

Tim.

*************************************************************************
This message and any attachments (the "message") are confidential, intended 
solely for the addressee(s), and may contain legally privileged information.
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to 
alteration.   
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be 
liable for the message if altered, changed or
falsified.
                              ************
Ce message et toutes les pieces jointes (ci-apres le "message") sont 
confidentiels et susceptibles de contenir des informations couvertes 
par le secret professionnel. 
Ce message est etabli a l'intention exclusive de ses destinataires. Toute 
utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration. 
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de 
ce message s'il a ete altere, deforme ou falsifie.
*************************************************************************

Reply via email to