I have solved the problem partially, found some documentation on how to run the perl Makefile.PL with
arguments so I don't have to edit the Makefile. I got DBI to compile and install in the correect location
correctly. I haven't been able to figure out what argument to add to perl Makefile.PL to see the non-standard
location I installed the DBI module in. Here is what I used on the DBI module.
perl Makefile.PL CC=/usr/dist/share/forte_dev,v6.2/SUNWspro/bin/cc \
LD=/usr/dist/share/forte_dev,v6.2/SUNWspro/bin/cc \
PREFIX=/home/morry/src/pcdesign,v14.x/lib/site_perl \
LIB=/home/morry/src/pcdesign,v14.x/lib/site_perl/5.005


Any help much appreciated, Thanks Morry

Morrison Davis wrote:

install_driver(Oracle) failed: Can't load '/home/morry/src/pcdesign,v14.x/lib/site_perl/5.005/sun4-solaris/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/dist/share/perl5,v5.6.1/5bin.sun4/perl: fatal: relocation error: file /home/morry/src/pcdesign,v14.x/lib/site_perl/5.005/sun4-solaris/auto/DBD/Oracle/Oracle.so: symbol Perl_no_modify: referenced symbol not found at /usr/dist/share/perl5,v5.6.1/lib/sun4-solaris/DynaLoader.pm line 206, <BOM> line 5362.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3, <BOM> line 5362.


I installed DBI and DBD using a local version of perl. Tested and working I then wanted to distribute for other users
to use, our IT group requires us to use their disted version of perl which is 5.6.1. I then recompiled both DBI and DBD
after changing my perl path to point to the IT version, so when I do perl -V it points to IT 's version. But, now when
I try to run my program I get the above error. What am I missing?


Any help much appreciated.





Reply via email to