I'm trying to run a perl script in /siteminder/CLI/bin.
When I do perl FILENAME (whatever the content might be in it ), I get following exception:
C:\Program Files\netegrity\siteminder\CLI\bin>perl document-domain.pl Can't load 'C:/Program Files/netegrity/siteminder/CLI/site/lib/auto/Netegrity/PolicyMgtAPI/PolicyMgtAPI.dll'
for module Netegrity::PolicyMgtAPI: load_file:The specified procedure could not be found at
C:/Program Files/netegrity/siteminder/CLI/lib/DynaLoader.pm line 206. at document-domain.pl line 2 Compilation failed in require at document-domain.pl line 2. BEGIN failed--compilation aborted at document-domain.pl line 2.
It's something to do with my PERL interface. Even an empty file throws the same error. Am I missing any class path variables?
The Path to agent libraries was listed in PATH environment variable before Policy Server and SDK libraries. The agent has a different version of smerrlog.dll. Moved path to agent libraries to end of PATH variable and app ran fine.