[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rdgeng::cics_technical

Title:Discussion of CICS technical issues
Moderator:IOSG::SMITHF
Created:Mon Mar 13 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:192
Total number of notes:680

190.0. "Shared library prblems in CICS program" by CSC32::D_BUTLER () Tue May 20 1997 00:59

Hi I am trying to resolve a technical CICS problem. I have a tp backgroung
but little CICS and UNIX. Here is  a problem statement. I would
appreciate any input on this.


A runtime error is occuring which references a user written shared library.
It(CICS) cannot locate shared libraries linked to a program named test1.

The program name is test1.
errors are: Unsuccessful load of shared library.
ERZ058103e/0007 DLOPEN cannot load /cics/programs/test1

Shared libraries are in /usr/lib and are named libcxx.a
and                                            itclt.a

Dave Butler
T.RTitleUserPersonal
Name
DateLines
190.1LD_LIBRARY_PATHCICS03::helenHelen PrattTue May 20 1997 13:1130
Dave,

Firstly you need to make sure that the CICS region is started with
an environment which enables it to find any shared library which 
any program will need to access.  To do this the LD_LIBRARY_PATH
environment variable must contain all the directories containing
libraries needed by transaction programs in addtion to those specified
in the Installation and Configuration.

Secondly you must ensure that the permissions on the programs and
user libraries are correct, as in the cics user can read and execute
them.

In most cases this problem is caused by the LD_LIBRARY_PATH
not being set correctly.

>>A runtime error is occuring which references a user written shared library.
>>It(CICS) cannot locate shared libraries linked to a program named test1.
>>
>>The program name is test1.
>>errors are: Unsuccessful load of shared library.
>>ERZ058103e/0007 DLOPEN cannot load /cics/programs/test1

My guess is that you have some libraries in /cics/programs and that
/cics/programs is not on you LD_LIBRARY_PATH.

Good luck and I hope this helps,

Helen.
190.3Exact error messages ?CICS03::helenHelen PrattThu May 22 1997 12:1520

Dave,

We've moved your entry (191.0) to 190.2 to keep this particular string
of notes together - otherwise confusion arises ;-)

Given that the suggestions in .1 have failed, can you post the exact error
messages seen in console.msg?  Are there any entries in the CSMT.out file,
if so, can you post them?  Is a symrec generated in the symrec file, if
so could you post this?

Do you know which library is causing the problem?  If not, one way to
try and idenitfy this would be to use the debugging transacion CSTB
to try and narrow things down a bit.

Hope this helps,

Helen. 

190.4CSC32::C_BENNETTWed May 28 1997 19:424
    The problem turned out to be that the LD_LIBRARY_PATH did not
    point to all runtime components so image activation caused this 
    error to be signaled.