Upgrading JDK To 7_25 - Step 3.7 Rebuild Forms Reports: Error: Collect2: Ld Returned 1 Exit Status (Doc ID 1569998.1)

Last updated on AUGUST 15, 2016

Applies to:

Oracle Applications Technology Stack - Version 10.1.2.3 to 10.1.2.3 [Release 10.1]
Information in this document applies to any platform.

Goal

 After upgrading JDK to 1.7.0_25, encountering the following errors while running:

make -f ins_forms.mk install

/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `pthread_cond_timedwait@GLIBC_2.3.2'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `pthread_cond_signal@GLIBC_2.3.2'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `realpath@GLIBC_2.3'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `pthread_cond_wait@GLIBC_2.3.2'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `pthread_cond_init@GLIBC_2.3.2'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
collect2: ld returned 1 exit status
make: *** [frmbld] Error 1

Error Codes
---------------------------------------------------
collect2: ld returned 1 exit status, make: *** [frmbld] Error 1

  

 

make -f ins_reports.mk install

/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `pthread_cond_timedwait@GLIBC_2.3.2'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `pthread_cond_signal@GLIBC_2.3.2'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `realpath@GLIBC_2.3'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `pthread_cond_wait@GLIBC_2.3.2'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `pthread_cond_init@GLIBC_2.3.2'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
/u01/xxxx/applmgr/apps/tech_st/10.1.2/jdk/jre/lib/i386/server/libjvm.so: undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
collect2: ld returned 1 exit status
make: *** [rwbuilder] Error 1

  

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms