Not for humans, but for search engines z/OS Unix messages

WARNING: terminal is not fully functional Press RETURN to continue

After I installed zopen:less I got this message.

Action: use zopen install ncurses

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1019)

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1019)

I was doing Python pip install and got these messages. I had to bodge a certificate package from Linux. See here.

xlc compiler

xlc: Cannot spawn program /usr/lpp/cbclib/xlc/exe/ccndrvr

CEE3501S The module CCNDRVR was not found.

/usr/lpp/cbclib/xlc/exe/ccndrvr points to CCNDRVR in CBC.SCCNCMP.

This didn’t work

One comment say copy and update xlc.cfg to have steplib = CBC.SCCNCMP. Then use /bin/xlc -F./xlc.cfg

This worked

I put the C compiler libraries in the LNKLST

LNKLST ADD NAME(LNKLST00) DSN(CBC.SCTVMOD)               VOLUME(B3RES1) 
LNKLST ADD NAME(LNKLST00) DSN(CBC.SCLBDLL) VOLUME(&SYSR1)
LNKLST ADD NAME(LNKLST00) DSN(CSF.SCSFMOD0) VOLUME(B3RES1)
LNKLST ADD NAME(LNKLST00) DSN(CBC.SCCNCMP) VOLUME(&SYSR1)
LNKLST ADD NAME(LNKLST00) DSN(CBC.SCLBDLL2) VOLUME(&SYSR1)

C compile

Definition of function pthread_key_t requires parentheses

I got this because I had


#include "sys/types.h"
#include <sys/__messag.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include "stddef.h"
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include "pyport.h"
#define PY_SSIZE_T_CLEAN
#include "Python.h"

#define _OPEN_THREADS 2
#include <pthread.h>

The #define _OPEN_THREADS needs to be before the includes. It may or may not need the value 2

Leave a comment