'Microfocus COBOL - _mFldhandle - Symbol Lookup Error

We are porting an application from HPUX to Linux using Microfocus COBOL and GNU C on both platforms.One of our shared libraries is failing at runtime with the following error:

AB123: symbol lookup error. libRTS.so: undefined symbol: _mFldhandle

My understanding is that _mFldhandle is internal to Microfocus. Can anyone point me to why we might be having an issue / what we should be including to make sure _mFldhandle is available at runtime?

Thanks!



Solution 1:[1]

Contrary to the comments from above the usual reason for this symbol being missing is not using "cob" to link your exe or shared object.

The other reason is not using the same 'C' compiler that the product was created with.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Stephen Gennard