Summary: Installation Perl DBD-Oracle failed

From: sa_venkatesan@chennai.tcs.co.in
Date: Wed Sep 13 2000 - 23:21:10 CDT


Hi Sysadmins,

Many Thanks for your suggestions. But It did not work. I accidentally deleted
my mails yesterday and I could not furnish the respondents. Please accept my
sincere apologies.

The suggestions are:

1. Ensure that the following envirnonment variables are set. (I set all these
vars).
     ORACLE_USER
     ORACLE_HOME
     ORACLE_SID
     LD_LIBRARY_PATH should point to $ORACLE_HOME/lib

2. Ensure libclntsh.so exists at $ORACLE_HOME/lib. (It is there).

3. Since the error was in line 169, open the perl script and find out the error.
(It is loading some libs in that line. May be I'm not proficient with perl).

I have installed DBI and DBD on a SPARC machine and it worked. I could not
figure out why it is failing on the Intel mach.
Your suggestions really helped me to install on the SPARC machine without a
hitch.

Thanks a lot

Venkat

Saranathan Venkatesan
09/12/2000 11:55:59 AM

To: sun-managers@sunmanagers.ececs.uc.edu
cc:

Subject: Installation Perl DBD-Oracle failed

Hi Sysadmins,

Sorry if it is a offtopic to this list. I think most of you should have come
across this problem.

I am trying to install perl DBI & DBD modules in my sun box. I am using Perl
5.005_03 (and tested on perl 5.6 too).

Here are the specifications:
OS: Solaris 7 intel
Oracle: Oracle 7.3.2
DBI version : 1.14
DBD-Oracle: 1.06
Compiler: gcc 2.95.1 19990816
Maker, ar & ld: /usr/ccs/bin/make /usr/ccs/bin/ar & /usr/ccs/bin/ld

DBI Module went through successfully. But while installing DBD-Oracle (at the
make test step), I am getting the following error message.

t/general...........install_driver(Oracle) failed: Can't load 'blib/arch/auto/DB
D/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /home/Perl/bin/perl: fatal:
 relocation error: file blib/arch/auto/DBD/Oracle/Oracle.so: symbol orlon: refer
enced symbol not found at /home/Perl/lib/perl5/i86pc-solaris/DynaLoader.pm line
169.

I'm attaching all the log files herewith. I will be thankful if you can help me
in solving this problem.

thanks a lot.

regards
venkat

(See attached file: sym.log)(See attached file: makepl.log)(See attached file:
make.log)(See attached file: telnet.log)(See attached file: test.log)(See
attached file: testv.log)













S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:17 CDT