Friday, October 30, 2015

Upgrading JDK To 7_45 - Step 3.7 Rebuild Forms Reports: Error: Collect2: Ld Returned 1 Exit Status

While Rebuild Forms and Reports Executables  Error libjvm.so: undefined reference to `pthread_cond_timedwait@GLIBC_2.3.2'

1) All required patches per Note 1467892.1 have been applied
Critical patch to be applied is 16271876 PROVIDE LIBJVM-STUB.SO FOR RELINKING OF FORMS WITH JDK 1.7
2)  Confirm the following reflects correct information:
$ $ADJVAPRG -version
$ echo $CLASSPATH
$ $AFJVAPRG -version
$ echo $AF_CLASSPATH

applmgr@xxxx:/u01/xxxx/applmgr/apps/tech_st/10.1.2/forms/lib>$ADJVAPRG -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)


applmgr@xxxx:/u01/xxx/applmgr/apps/tech_st/10.1.2/reports/lib>$AFJVAPRG -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)

3) Please create the below softlink:

cd $ORACLE_HOME/lib/stubs
ln -s libjvm-1.7-stub.so libjvm.so
Retry the make command.

(Doc ID 1569998.1)