Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't open shared library: /opt/cobol/cobdir/coblib/libisstubs.1

SOLVED
Go to solution
José J. Vellón
Occasional Contributor

Can't open shared library: /opt/cobol/cobdir/coblib/libisstubs.1

$echo $COBDIR
/opt/lib/cobol

$ ll /opt/cobol/cobdir/coblib/libisstubs.1
/opt/cobol/cobdir/coblib/libisstubs.1 not found.



how I resolve this problem. my libibrary folder are in /opt/cob/lib the ...libisstubs.1 not exists.

OS HP-UX 11.23
Micro Focus Cobol (Developer System)

$ make -f $BANNER_LINKS/sctprocb10g.mk ZHPTIME
/lvolora1/app/product/10.2.0.1/bin/procob include=/lvolora1/app/product/10.2.0.1/precomp/public include=/lvolora2/sct/banFINTEST/general/cob ireclen=132 oreclen=132 host=Cobol maxopencursors=50 ltype=none unsafe_null=yes picx=varchar2 hold_cursor=no release_cursor=no select_error=yes maxliteral=1024 dbms=v8 iname=ZHPTIME.pco

Pro*COBOL: Release 10.2.0.1.0 - Production on Mon Mar 5 14:35:32 2007

Copyright (c) 1982, 2005, Oracle. All rights reserved.

System default option values taken from: /lvolora1/app/product/10.2.0.1/precomp/admin/pcbcfg.cfg

cob -xv -PC " IBMCOMP noecho notrunc nobound confirm errlist assign=external" -c ZHPTIME.cob
cob64 -C nolist -xv -PC IBMCOMP noecho notrunc nobound confirm errlist assign=external -c ZHPTIME.cob
* Micro Focus Server Express V2.2 revision 000 Compiler
* Copyright (C) 1984-2002 Micro Focus International Ltd. URN RXCPR/BM0/00000E
* Accepted - verbose
* Accepted - nolist
* Accepted - IBMCOMP
* Accepted - noecho
* Accepted - notrunc
* Accepted - nobound
* Accepted - confirm
* Accepted - errlist
* Accepted - assign(external)
* Accepted - list(ZHPTIME.lst)
* Compiling ZHPTIME.cob
* Total Messages: 0
* Data: 4792 Code: 7211
* Micro Focus Server Express V2.2.00 Code generator
* Copyright (C) 1984-2002 Micro Focus International Ltd. All rights reserved.
* Accepted - verbose
* Generating ZHPTIME
* Data: 5160 Code: 9828 Literals: 664
cob -x ZHPTIME.o /lvolora2/sct/banFINTEST/general/exe/GUAGETP.o /lvolora2/sct/banFINTEST/general/exe/GUASETR.o -L/lvolora1/app/product/10.2.0.1/lib/ /lvolora1/app/product/10.2.0.1/precomp/lib/cobsqlintf.o -lclntsh `cat /lvolora1/app/product/10.2.0.1/lib/sysliblist` -lm -lpthread -lpthread -o /lvolora2/sct/banFINTEST/general/exe/ZHPTIME
rm ZHPTIME.o ZHPTIME.lst ZHPTIME.int ZHPTIME.cob ZHPTIME.idy
1 REPLY
Julio Yamawaki
Esteemed Contributor
Solution

Re: Can't open shared library: /opt/cobol/cobdir/coblib/libisstubs.1

Hi,

Try setting this variables:

COBDIR=/opt/lib/cobol

export PATH=$COBDIR/bin:/usr/sbin:$PATH
export SHLIB_PATH=$COBDIR/lib
export LD_LIBRARY_PATH=$COBDIR/lib

Regards,