Folks,
I am running into a problem compiling MicroFocus COBOL server express
application on AIX 5.3. It seems that problem is with make being SGID.
Because of AIX security make does not seem to get LIBPATH environment
variable and it fails with error that it cannot load COBOL library.
$ make -f cob/fcics/conf/buildreg.mkf
cob -v -gz /home/cdev/cics9/src/online/BeginRun.cbl; mv /home/cfgprod/BeginRun.so /home/cfgprod/cob/fcics/lib/BeginRun.so;
cob32 -C nolist -v -gz /home/cdev/cics9/src/online/BeginRun.cbl
Could not load program /opt/microfocus/cobol/bin/rts32_t:
Dependent module libcobrts_t.2.so could not be loaded.
Could not load module libcobrts_t.2.so.
System error: No such file or directory
cob32: error(s) in compilation: /home/cdev/cics9/src/online/BeginRun.cbl
make: 1254-004 The error code from the last command is 255.
Stop.
I tried -bl:/opt/microfocus/cobol/lib, but that did not help either.
If I turn off the SGID bit on make, I am able to compile the application.
On my other system (AIX 5.2) make is not SGID so I do not have problem.
Is there a fix for it?
Thanks.
--
Hemant Shah /"\ ASCII ribbon campaign
E-mail:
NoJunkMailshah@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.