Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

171
Views
Perl Dynaloader gives Usage error while calling function with parameters

Using the Perl Dynaloader module we are loading a .so file and using "DynaLoader::dl_find_symbol" to find the symbols and install it using "DynaLoader::dl_install_xsub" finally we are calling the function as &ExConfig_fnInitialize('', 0, 1, 5, 1).

The above steps work in all Linux machines with the below configuration

RedHat Linux 3.10.0-1160.42.2.el7.x86_64

Perl 5.16

We newly created a maching with below configuration then the script giving "Usage: ExConfig::fnInitialize(szLogFileName, nFileLevel, bLogToConsole, nConsoleLevel, bUsePipe) at ./Services.pl line 807." for all parameterized function.

RedHad Linux 5.4.17-2102.201.3.el8uek.x86_64 (Redhad 8.x)

Perl 5.26

I can reproduce the error in the working environment by removing any of the parameters in the function call.

So, anyone please shed some light on why it is giving "Usage" error even we hard code the function parameters.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!