Operating System - HP-UX
1748180 Members
4356 Online
108759 Solutions
New Discussion юеВ

Re: shl_findsym error from a Cobol program

 
Sathish C
Frequent Advisor

shl_findsym error from a Cobol program

Hi
A cobol program is failing with the following message "shl_findsym failed finding _hp_libfhutil_init" , this program is gettting kicked off in parallel ( 87 times ) and most of them using the same code went through successfully and few of them are failing with this error . Can anyone tell me what is goign on here . The machine its running is a HP Superdome SSL applied partially .Your assistance will grealty be appriciated .
Some cause happiness wherever they go; others, whenever they go
2 REPLIES 2
Indira Aramandla
Honored Contributor

Re: shl_findsym error from a Cobol program

Hi Sathish,

"shl_findsym", "shl_load", and "shl_unload" are all defined in "/usr/lib/libdld.sl".
Make sure this library exists.

It could be a common Linking Issue. Check the the environment variables LDFLAGS and LDOPTS.


Indira A
Never give up, Keep Trying
Sathish C
Frequent Advisor

Re: shl_findsym error from a Cobol program

Indira Hi
Thank you for your responce , BUT I did my home work before I put the question into the forum , I do have the libs
Acc (aCC) libs- In Library: /opt/aCC/lib/cxxshl.o
General- In Library: /usr/lib/libdld.1
General- In Library: /usr/lib/libdld.1
General- In Library: /usr/lib/libdld.2
General- In Library: /usr/lib/libdld.2

(_hp_libfhutil_init) Found at:
Cobol- In Library: /opt/cobol/cobdir/coblib/libfhutil.1
Cobol- In Library: /opt/cobol/cobdir/coblib/libfhutil.1


and if I did not have these defined/linked/compiled properly am sure all of them should have failed not only few of them .
Some cause happiness wherever they go; others, whenever they go