Well, you do have perl 5.6.1 already installed, but it is installed as part of the OAS. In your original email you said you were running Solaris 5.8. Did you mean Perl 5.8? Because you mention Solaris 10 below. It seems from the error messages you originally sent that you have gotten DBI and DBD that were compiled against perl 5.8 to get installed into your perl 5.6.1 tree. But I may be missing something. Is this a test machine? Are you running the latest OAS release, and if not, can you upgrade that? On Dec 8, 2006, at 10:15 AM, Chong, Wei-Ling wrote: > Thanks, but it does not happen to normal perl script that not using > oraperl. > How can I solve the perl version conflict problem? > I can't find the 5.6.1 for Solaris 10 x86. > I have installed DBI and DBD. > Please help. [original error message] > [Fri Dec 8 14:18:45 2006] [error] [client 165.204.172.185] [ecid: > 1165558725:165.204.178.145:8267 > :0:37,0] Premature end of script headers: > /oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl > Perl lib version (v5.6.1) doesn't match executable version (v5.8.7) at > /oracle/app/oracle/product/ > oas10.1.2.0.2/perl/lib/5.6.1/i86pc-solaris/Config.pm line 21. > Compilation failed in require at > /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86pc-sol > aris/DynaLoader.pm line 25. > BEGIN failed--compilation aborted at > /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86pc > -solaris/DynaLoader.pm line 25. > Compilation failed in require at > /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/5.6.1 > /i86pc-solaris/DBI.pm line 152. > BEGIN failed--compilation aborted at > /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/5 > .6.1/i86pc-solaris/DBI.pm line 152. > Compilation failed in require at > /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/5.6.1 > /i86pc-solaris/Oraperl.pm line 25. > BEGIN failed--compilation aborted at > /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/5 > .6.1/i86pc-solaris/Oraperl.pm line 25. > Compilation failed in require at > /oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line 33. > BEGIN failed--compilation aborted at > /oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line > 33. > -- Christopher Sarnowski csarnows@pcbi.upenn.edu Penn Bioinformatics Core 1316 Blockley Hall MC 6021 (215) 746-7784Thread Previous | Thread Next