New Member.
519 views

Linkerror: Cobol program "SQLADR" undefined

i have a small sql-testprogram and precompile it under eclipse with Oracle Pro*Cobol . If the result is a int-file, the run works fine using rtsora.  The compile/link as SingleExecutableFile shows the linkerror: 'Cobol program "SQLBEX"/"SQLADR" undefined'. The OracleInstantClient is installed and then libclntsh.so (lib where sqladr and sqlbex is included) ist available in ldconfig-cache.

running the program (" ./pgm") shows a similar error

Load error : file 'SQLADR'
error code: 173, pc=0, call=1, seg=0
173     Called program file not found in drive/directory

What is the problem? How can i resolve link errors?

environment is RHEL, VisualCobol4.0, recent OracleClient

 

regards lw

0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.