Operating System - HP-UX
1832535 Members
7538 Online
110043 Solutions
New Discussion

Upgraded Perl - and now stuff broke - help

 
Alan Wyskowski
Frequent Advisor

Upgraded Perl - and now stuff broke - help

I upgraded perl from 5.04_04 to 5.6.1 and now our application choaks with the following error. Has anyone ever seen errors like this before after upgrading perl and trying to run existing code ? When I do an NM on that SecAPI.sl library, boot_SecAPI is present so I don't know why it would complain. Any help would be greatly appreciated.... I've recompiled it over and over with different options - still same errors. It seems like it can't find/load the SECAPI module, but it's present and runs fine when I compile and run perl5_04.05 against it.

$ ./oasis.pl
Subroutine basename redefined at /opt/perl5_6.1/lib/5.6.1/Shell.pm line 23.
Can't find 'boot_SecAPI' symbol in /app/prod/oasis/server/scripts/lib/arch/auto/SecAPI/SecAPI.sl
at /app/prod/oasis/server/scripts/lib/../oasis_sec_lib.pl line 14
Compilation failed in require at /app/prod/oasis/server/scripts/lib/../oasis_sec_lib.pl line 14.
BEGIN failed--compilation aborted at /app/prod/oasis/server/scripts/lib/../oasis_sec_lib.pl line 14.
Compilation failed in require at /app/prod/oasis/server/scripts/lib/Oasis.pm line 13.
Compilation failed in require at ./oasis.pl line 9.
BEGIN failed--compilation aborted at ./oasis.pl line 9.

1 REPLY 1
Santosh Nair_1
Honored Contributor

Re: Upgraded Perl - and now stuff broke - help

Alan,

If you still have the older perl binary around you can do a perl -V to see the options used to build the binary. I have a feeling that you've used some library in the original build that you might have forgotten when you build 5.61.

I've had problems building DBD and DBI and had to rebuild perl with -lpthread and -lcl.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans