Wednesday 4 March 2020

Getting 'libpsora_ansi64.so, not found' Error or Other Library Errors When Running /psrun.mak

Issue:

libpsbtunicode64.so, needed by /psoft/pt85706/pt/ps_home8.57.06/bin/libpscompat_ansi64.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpspal64.so, needed by /psoft/pt85706/pt/ps_home8.57.06/bin/libpscompat_ansi64.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpscrypto.so, needed by /psoft/pt85706/pt/ps_home8.57.06/bin/libpssqlapi_ansi.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpsssl.so, needed by /psoft/pt85706/pt/ps_home8.57.06/bin/libpssqlapi_ansi.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpscmncipher_ansi64.so, needed by /psoft/pt85706/pt/ps_home8.57.06/bin/libpssqlapi_ansi.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libclntsh.so.11.1, needed by /psoft/pt85706/pt/ps_home8.57.06/bin/libpsora_ansi64.so, not found


Fix: 


Make sure Oracle_client is ok or not,,,fix that and it will run
export TNS_ADMIN=/uc01/app/oracle/product/12.1.0.2.0/fullclienthome1/network/admin
export ORACLE_HOME=/uc01/app/oracle/product/12.1.0.2.0/fullclienthome1

cob64: can not execute program "cc".

Issue : cob64: can not execute program "cc".

Fix:

1) Please work with your Linux admin to install GNU Compiler Collection
2) Once installed, execute the 'which cc' command to make sure 'cc' is found in the PATH
3) Test the linking of cobol via the $PS_HOME/setup/psrun.mak script

COBOL Program PTPNTEST aborted (2,-1) FUNCLIB_UTIL.RC_TEST_PB.FieldChange PCPC:2143 Statement:26

COBOL Program PTPNTEST aborted (2,-1) FUNCLIB_UTIL.RC_TEST_PB.FieldChange PCPC:2143 Statement:26


To fix this first check your licence manager is running or not

./mflmadm  then run F7 licence manager should be running and connecting.

Still if you get the error then
Go to root user export COBDIR and run below

export COBDIR=XXXXX

Run ./psauto64

./psauto64 - Updating the Application Server License Database - STARTING

License installed ok

./psauto64 - Updating the Application Server License Database - COMPLETED

It can be verfied on Prcs and appserver 

The purge process did not run because the Oprid configured to start the Process Scheduler did not have the required permissions to run the purge process.

  Purge process - Required permissions The PeopleSoft Oprid used to start the Process Scheduler, as defined in the Scheduler's psprcs.cf...