vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| |||
| This seems to be a problem with ML3. IBM is preparing APAR IY79104 to address the problem, but so far the fix is manual, the same as you tried. An additional step was to set the group ownership of 'make' from 'system' to 'bin'. Hemant Shah wrote: > 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. |
| ||||
| While stranded on information super highway STW wrote: > This seems to be a problem with ML3. IBM is preparing APAR IY79104 to > address the problem, but so far the fix is manual, the same as you > tried. An additional step was to set the group ownership of 'make' > from 'system' to 'bin'. Thanks, I will install IY79104 as soon as it is available. > > Hemant Shah wrote: >> 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. > -- 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. |