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

Conference rdgeng::cics

Title:CICS - IBM's Customer Information Control System
Notice:Disseminate/Exchange Information Digital/IBM CICS
Moderator:IOSG::MEREWOOD
Created:Tue Feb 08 1994
Last Modified:Wed May 21 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:134
Total number of notes:449

133.0. "Shared library usage in CICS - questions." by CSC32::D_BUTLER () Tue May 20 1997 01:02

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
133.1wCICS03::helenHelen PrattTue May 20 1997 18:5041
This is the answer I've posted in CICS_TECHNICAL.

Notefile: RDGENG::CICS_TECHNICAL
Note: 190.1
Author: CICS03::helen "Helen Pratt"
Topic: Shared library prblems in CICS program
Title: LD_LIBRARY_PATH
Date: 20-MAY-1997 09:11
Lines: 30


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.