Click here to get back home

DBD::Oracle

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
DBD::Oracle thiru 06-15-2006
---> Re: DBD::Oracle Sherm Pendley06-15-2006
Get Chitika Premium
Posted by thiru on June 15, 2006, 3:22 am
Please log in for more thread options


hai ,
i have one server ant two logins
in one login perl is working fine and in the another login the perl
files are not working
the settings are same for both logins

ld_library_path
shlib_path
perl5lib_path
perllib_path
still it is giving the following error
Can't load '/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/auto/DBI/DBI.sl'
for module DBI: Invalid argument at
/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/DynaLoader.pm line 169.

at /opt/perl5.005_03/lib/5.00503/PA-RISC1.1/DBI.pm line 158
BEGIN failed--compilation aborted at
/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/DBI.pm line 158.
BEGIN failed--compilation aborted at
/opt/perl_local/PA-RISC1.1/Oraperl.pm line 25.
BEGIN failed--compilation aborted at ./perl_test.pl line 2.

my test file
========

#!/usr/local/bin/perl
use Oraperl;

############################################################################
# Getting Database information from environment variables
#
############################################################################

$dbname=$ENV;
$userid=$ENV;
$passwd=$ENV;


##################
# oracle login #
##################
($lda = &ora_login("", $userid."\@".$dbname, $passwd)) ||
do { #
oracle login fails
print "Error Connecting Database $dbname : $ora_errstr";
&ora_logoff ($lda);
};
print " Successfully connected to Database : $dbname \n";
&ora_logoff ($lda);
----------------------------------------------------------------------------------------------------------------------
can anyone help me on this

i will be greatful to you

thanks,
thiru


Posted by Sherm Pendley on June 15, 2006, 11:28 am
Please log in for more thread options



> hai ,
> i have one server ant two logins
> in one login perl is working fine and in the another login the perl
> files are not working
> the settings are same for both logins
>
> ld_library_path
> shlib_path
> perl5lib_path
> perllib_path
> still it is giving the following error
> Can't load '/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/auto/DBI/DBI.sl'
> for module DBI: Invalid argument at
> /opt/perl5.005_03/lib/5.00503/PA-RISC1.1/DynaLoader.pm line 169.

Wow. That's a very old Perl. But I doubt that's the problem.

Could be a permissions problem. Have you verified that file is readable by
both users?

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

Posted by thiru on June 16, 2006, 3:31 am
Please log in for more thread options


hai pendley,
yes that file has rwxr-xr-x permission

thanks,


Sherm Pendley wrote:
>
> > hai ,
> > i have one server ant two logins
> > in one login perl is working fine and in the another login the perl
> > files are not working
> > the settings are same for both logins
> >
> > ld_library_path
> > shlib_path
> > perl5lib_path
> > perllib_path
> > still it is giving the following error
> > Can't load '/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/auto/DBI/DBI.sl'
> > for module DBI: Invalid argument at
> > /opt/perl5.005_03/lib/5.00503/PA-RISC1.1/DynaLoader.pm line 169.
>
> Wow. That's a very old Perl. But I doubt that's the problem.
>
> Could be a permissions problem. Have you verified that file is readable by
> both users?
>
> sherm--
>
> --
> Cocoa programming in Perl: http://camelbones.sourceforge.net
> Hire me! My resume: http://www.dot-app.org


Similar ThreadsPosted
DBD::Oracle and various oracle clients August 1, 2006, 9:23 am
DBD::Oracle on cygwin July 12, 2006, 6:09 am
DBD::Oracle issues January 23, 2007, 7:16 pm
DBI/DBD-Oracle and Proxy June 13, 2007, 11:43 am
Using DBD::pNET with DBD::Oracle August 23, 2007, 8:54 pm
DBI and DBI::Oracle packages configuration July 22, 2004, 8:55 am
Need Help Installing Oracle-DBD on WindowsXP February 6, 2005, 10:30 pm
Install DBD::Oracle crashes November 22, 2006, 3:08 pm
Problem with DBD::Oracle in cgi-script August 28, 2007, 3:15 am
Problem installing DBD-Oracle June 5, 2008, 5:44 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap