Consultor Eletrônico



Kbase P80509: Prolib -makeshared fails with no error message and exit status 2
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

FACT(s) (Environment):

Progress 9.1x
OpenEdge 10.x

SYMPTOM(s):

Prolib -makeshared fails with no error message and exit status 2

No error message is printed

Exit status of prolib is 2

Resulting memory-mapped library file is invalid

Input library file contains corrupted r-code files

Input library file contains files with extension .r that do not contain r-code

CAUSE:

To build a memory-mapped library file, prolib must read the r-code and rearrange the segments inside the file.
When files with a .r extension inside the input library do not contain valid r-code, this mechanism fails and causes prolib to exit.

FIX:

If the r-code is corrupted: recompile the source code, recreate the .pl file, and then attempt to generated the memory-mapped library file again.
If there are files with extension .r but not containing r-code (data files for the application): rename the files and modify the application to use another extension.