I'm having a tough time with a script i wrote that connects to a DB2 DB and does some stuff.
When i'm executing perl script.pl, i get an error :
ld.so.1: perl: fatal: relocation error: file /usr/perl5/site_perl/5.8. +4/sun4-solaris-64int/auto/DBD/DB2/DB2.so: symbol SQLAllocHandle: refe +renced symbol not found
Running perl in debug mode, i found out that it was the DBI->connect line that was failing :
my $dbh_DW = DBI->connect("DBI:DB2:Database=$DW_DB_NAME; Hostname=$DW_ +DB_HOST; Port=$DW_DB_PORT; Protocol=TCPIP; UID=$DW_DB_USER; PWD=$DW_D +B_PASS;",$DW_DB_USER,$DW_DB_PASS)
I've had to install the modules i needed manually (server is isolated) but i think I got them all
I'm using Solaris 10 64-bits. (using perl 5.8.4, DBI is 1.616 and DBD::DB2 is 1.82)
I've been working on this for a week, so please if anyone has an idea on why this error is happening, let me know!
Thanks!In reply to Problem Compiling under Solaris using DBI and DBD::DB2 by palaxos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |