Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

173
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda