Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

177
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda