Problems executing Perl CLI.

book

Article ID: 3969

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) AXIOMATICS POLICY SERVER CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

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?

Environment

Release: ETRSWK99000-12.7-SiteMinder-Web Access Manager-SmWalker
Component:

Resolution

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.