M
mkirsch1
I see lots of one-message threads for errors similar to this:
Can't load '/packages/perl/lib/perl5/site_perl/auto/DBI/DBI.so' for
module DBI: ld.so.1: perl: fatal: relocation error: file
/packages/perl/lib/perl5/site_perl/auto/DBI/DBI.so: symbol dirty:
referenced symbol not found at
/usr/perl5/5.8.4/lib/sun4-solaris-64int/DynaLoader.pm line 230.
at /packages/perl/lib/perl5/site_perl/DBI.pm line 168
BEGIN failed--compilation aborted at
/packages/perl/lib/perl5/site_perl/DBI.pm line 168.
Compilation failed in require at ./dbi_simple.pl line 4.
BEGIN failed--compilation aborted at ./dbi_simple.pl line 4.
But, no answers. Please tell me someone knows, as a general
explanation, what is going on here, and can explain it to me. If I had
an explanation of what the error message means on a generic level, I
could probably figure out what's wrong and fix it.
Situation: I have DBI and DBD-Oracle loaded in a non-standard location.
They're "compiled" for Solaris 8 (perl 5.005), and we're trying to use
them on Solaris 10 (perl 5.8.4) boxes. The above error message is what
we get from this simple script:
#!/usr/bin/perl
use lib qw(/usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503
/usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005
/packages/perl/lib/perl5/site_perl);
use DBI;
use DBD::Oracle qwora_types);
Recompiling the modules for Solaris 10 is not an option because we're
in a heterogenous environment, and production is still on Solaris 8.
Can't load '/packages/perl/lib/perl5/site_perl/auto/DBI/DBI.so' for
module DBI: ld.so.1: perl: fatal: relocation error: file
/packages/perl/lib/perl5/site_perl/auto/DBI/DBI.so: symbol dirty:
referenced symbol not found at
/usr/perl5/5.8.4/lib/sun4-solaris-64int/DynaLoader.pm line 230.
at /packages/perl/lib/perl5/site_perl/DBI.pm line 168
BEGIN failed--compilation aborted at
/packages/perl/lib/perl5/site_perl/DBI.pm line 168.
Compilation failed in require at ./dbi_simple.pl line 4.
BEGIN failed--compilation aborted at ./dbi_simple.pl line 4.
But, no answers. Please tell me someone knows, as a general
explanation, what is going on here, and can explain it to me. If I had
an explanation of what the error message means on a generic level, I
could probably figure out what's wrong and fix it.
Situation: I have DBI and DBD-Oracle loaded in a non-standard location.
They're "compiled" for Solaris 8 (perl 5.005), and we're trying to use
them on Solaris 10 (perl 5.8.4) boxes. The above error message is what
we get from this simple script:
#!/usr/bin/perl
use lib qw(/usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503
/usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005
/packages/perl/lib/perl5/site_perl);
use DBI;
use DBD::Oracle qwora_types);
Recompiling the modules for Solaris 10 is not an option because we're
in a heterogenous environment, and production is still on Solaris 8.