Skip to main content

[Migrated content. Thread originally posted on 16 June 2011]

Hello
I have a cobol program with which I read a MySQL database with InstanatSql compiles without errors but the error run the following commands:

desrcs@may2:/usr/acct/Inst-InstantSQL/ftes$ runcobol85 sample1.cob L=/usr/acct/Inst-InstantSQL/ftes/libisql.so

RM/COBOL Runtime - Version 12.02 for Linux Intel 32-Bit.
RM/COBOL Runtime System issued to IT Innovation & Technology S.A. de.
Configured for 10 users.
Arrendadora Rama
Copyright (c) 1985-2008 by Liant Software Corp. All rights reserved.
Registration Number: 6E-1000-25620-0010

COBOL procedure error 213 (library not found). Error processing library /usr/a
cct/Inst-InstantSQL/ftes/libisql.so.
COBOL procedure error 214 (library not valid). Error starting application samp
le1.cob.

[Migrated content. Thread originally posted on 16 June 2011]

Hello
I have a cobol program with which I read a MySQL database with InstanatSql compiles without errors but the error run the following commands:

desrcs@may2:/usr/acct/Inst-InstantSQL/ftes$ runcobol85 sample1.cob L=/usr/acct/Inst-InstantSQL/ftes/libisql.so

RM/COBOL Runtime - Version 12.02 for Linux Intel 32-Bit.
RM/COBOL Runtime System issued to IT Innovation & Technology S.A. de.
Configured for 10 users.
Arrendadora Rama
Copyright (c) 1985-2008 by Liant Software Corp. All rights reserved.
Registration Number: 6E-1000-25620-0010

COBOL procedure error 213 (library not found). Error processing library /usr/a
cct/Inst-InstantSQL/ftes/libisql.so.
COBOL procedure error 214 (library not valid). Error starting application samp
le1.cob.
Hi,

i think your problem is that libisql.so does not find libiodbc.so.2 (unixODBC).

You can check this by executing 'ldd libisql.so'.

You'll have to modify your LD_LIBRARY_PATH environment variable so that the path containing the unixODBC lib directory is included.

Renzo