10 Replies Latest reply: Jul 25, 2014 12:52 PM by Nicholas Mans-Oracle RSS

    Linking Error - ihsodbc sdo_on ctx_on

    james.

      Hi All,

       

      I was trying to install OAS 10g R2 (10.1.2.0.2) on linux-6 64-bit and I have installed all required packages that supports 32-bit as well. I am getting following linking error, any ones help is much appreciated.

       

       

      - Linking hsodbc agent

      rm -f /u01/oracle/product/10.1.2/oraInfra/rdbms/lib/hsodbc

      gcc -o /u01/oracle/product/10.1.2/oraInfra/rdbms/lib/hsodbc -L/u01/oracle/product/10.1.2/oraInfra/rdbms/lib/ -L/u01/oracle/product/10.1.2/oraInfra/lib/ -L/u01/oracle/product/10.1.2/oraInfra/lib/stubs/   /u01/oracle/product/10.1.2/oraInfra/hs/lib/hsodbc.o         /u01/oracle/product/10.1.2/oraInfra/rdbms/lib/defopt.o  /u01/oracle/product/10.1.2/oraInfra/rdbms/lib/homts.o          -L/u01/oracle/product/10.1.2/oraInfra/lib/ -lnavhoa  -lhsnav -lhsbase  -lagtsh -lpls10  -lplp10   -lclntsh  -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 /u01/oracle/product/10.1.2/oraInfra/lib/libgeneric10.a   `cat /u01/oracle/product/10.1.2/oraInfra/lib/sysliblist` -Wl,-rpath,/u01/oracle/product/10.1.2/oraInfra/lib -lm    `cat /u01/oracle/product/10.1.2/oraInfra/lib/sysliblist` -ldl -lm   -L/u01/oracle/product/10.1.2/oraInfra/lib -L/u01/oracle/product/10.1.2/oraInfra/lib/stubs/  -lvsn10

      /lib/libfreebl3.so: undefined reference to `__memcpy_chk@GLIBC_2.3.4'

      /lib/libfreebl3.so: undefined reference to `__snprintf_chk@GLIBC_2.3.4'

      /lib/libfreebl3.so: undefined reference to `__fread_chk@GLIBC_2.7'

      /lib/libfreebl3.so: undefined reference to `__ctype_b_loc@GLIBC_2.3'

      /lib/libfreebl3.so: undefined reference to `__memset_chk@GLIBC_2.3.4'

      /lib/libfreebl3.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'

      /lib/libfreebl3.so: undefined reference to `__ctype_toupper_loc@GLIBC_2.3'

      /lib/libfreebl3.so: undefined reference to `__fprintf_chk@GLIBC_2.3.4'

      /lib/libfreebl3.so: undefined reference to `__ctype_tolower_loc@GLIBC_2.3'

      collect2: ld returned 1 exit status

      make: *** [/u01/oracle/product/10.1.2/oraInfra/rdbms/lib/hsodbc] Error 1

       

      End output from spawned process.

      ----------------------------------

      Exception thrown from action: make

      Exception Name: MakefileException

      Exception String: Error in invoking target 'ihsodbc sdo_on ctx_on' of makefile '/u01/oracle/product/10.1.2/oraInfra/rdbms/lib/ins_rdbms.mk'. See '/u01/oracle/oraInventory/logs/installActions2014-07-20_10-31-02AM.log' for details.

      Exception Severity: 1

       

      Regards,

        • 1. Re: Linking Error - ihsodbc sdo_on ctx_on
          Nicholas Mans-Oracle

          OAS 10.1.2 is not certified on RHEL/OEL6. It was certified on RHEL/OEL5 with special considerations:

          Oracle Application Server 10g (10.1.2) Installation Requirements for Oracle Linux 5 and Red Hat Linux 5 (Doc ID 564174.1)

          • 2. Re: Linking Error - ihsodbc sdo_on ctx_on
            james.

            Thank you Nicholas, Is there anyway we can install on RHEL/OEL6. For security reason we selected 6. Please let me know

             

            Regards,

            • 3. Re: Linking Error - ihsodbc sdo_on ctx_on
              Nicholas Mans-Oracle

              Since it is not certified it will not be supported to do so. Please also note that 10.1.2 is no longer a premier supported product and will no longer receive security fixes:

              From the following Note 329361.1 Title: Oracle Application Server 10g Release 2 (10.1.2) Support

               

              ALERT: Premier Support Ends Dec 31 2011 for Oracle Fusion Middleware 10g 10.1.2 & 10.1.4

              Note 1290974.1 ALERT: Premier Support Ends Dec 31 2011 for Oracle Fusion Middleware 10g 10.1.2 & 10.1.4

               

              It is recommended to upgrade to Oracle Fusion Middleware 11g Release 1 (11.1.1) before the End of Premier Support in order to continue a level of support desired.

              After Premier Support period ends, error correction support will no longer be provided for this release.

              • 4. Re: Linking Error - ihsodbc sdo_on ctx_on
                james.

                Hi Nicholas,

                 

                When I try to install 10gR (10.1.2) on OEL5 it is stuck at  "Oracle Database Configuration Assistant" configuration assistant. Please help me.

                 

                The Installation log is..

                 

                Configuration assistant "Oracle Net Configuration Assistant" succeeded

                Result code for launching of configuration assistant is: 0

                -----------------------------------------------------------------------------

                Launched configuration assistant 'Oracle Database Configuration Assistant'

                Tool type is: Recommended.

                The command being spawned is: '/u01/oracle/product/10.1.2/oraInfra/bin/dbca  -progress_only -createDatabase -templateName Oracle9iAS_Repository_Database.dbc  -completionDialog FALSE   -passwordDialog FALSE   -gdbName infradb.localdomain -sid infradb *Protected value, not to be logged* *Protected value, not to be logged* *Protected value, not to be logged* *Protected value, not to be logged*  -emConfiguration NOBACKUP -datafileJarLocation /u01/oracle/product/10.1.2/oraInfra/assistants/dbca/templates  -datafileDestination /u01/oracle/product/10.1.2/oradata/ -responseFile NO_VALUE  -characterset AL32UTF8 -obfuscatedPasswords true  -sampleSchema false -oratabLocation /etc/oratab  -recoveryAreaDestination NO_VALUE '

                 

                Start output from spawned process:

                ----------------------------------

                Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct

                 

                 

                Regards

                • 5. Re: Linking Error - ihsodbc sdo_on ctx_on
                  Nicholas Mans-Oracle

                  Hi James,

                  You are now hitting another gotcha. This time with the Database Certification.

                  From

                  "As per the footnotes within Table 1 of the OTN Certification Guide, the following installation types for the Oracle Application Server 10g Infrastructure are not supported on OL 5.x or RHEL 5.x:

                  - Identity Management and Metadata Repository (co-located Infrastructure)
                  - Metadata Repository (non-colocated with a 10.1 DB)

                  This is because the Oracle Database Server 10g release 1 (10.1) is not certified on these platforms. If requiring these Infrastructure installation types with an Oracle Database, the recommendation is to install Oracle Database Server 10g Release 2 (10.2). After this the Metadata Repository Creation Assistant (MRCA) version 10.1.2.0.3 can be run, followed by an Identity Management installation type.  (Alternatively, the MRCA 10.1.4.0.1 and Identity Management 10.1.4.0.1 may be installed for the non-colocated Infrastructure with Oracle Database 10.2). Therefore, when using Oracle Application Server 10g Release 2 (10.1.2) media, only the middle-tier and Identity Management installation types are certified/supported."


                  Simply put, you will need to do a non colocated Infra with a separate 10.2 Database. This is because 10.1.2 includes a 10.1 DB which is not certified on the platform.

                  • 6. Re: Linking Error - ihsodbc sdo_on ctx_on
                    james.

                    Thanks a lot again Nicholas.  Is it possible to install 11g database and use it for infrastructure? If it is, any documentation available how to configure with 11g.

                     

                    I appreciate your help.

                     

                    Regards

                    • 7. Re: Linking Error - ihsodbc sdo_on ctx_on
                      Jayaprakash -Oracle

                      Hi James,

                       

                      Yes you use Dataabse 11g  with Infrastructure but there some limitations to use 11g database with 10.1.2.0.2.So request you to please follow the below note ids:-

                       

                      Note:887365.1 Oracle Database 11g Release 2 (11.2) Certification for Oracle Application Server 10g (10.1.2, 10.1.3, 10.1.4)

                       

                      NOTE:740417.1 - Oracle Database 11g Release 1 (11.1) Certification for Oracle Application Server 10g (10.1.2, 10.1.3, 10.1.4)


                      IN the above tow notes please refer to the section "Known Limitations".


                      Regards,

                      Prakash.

                      • 8. Re: Linking Error - ihsodbc sdo_on ctx_on
                        james.

                        Thank you Prakash. I will follow the docs and let you know. 

                         

                        Regards

                        James.

                        • 9. Re: Linking Error - ihsodbc sdo_on ctx_on
                          james.

                          Hi Nicholas & Prakash,

                           

                          Installation of 10.2 database is also stopped at same location dbca. Please suggest me any solution.

                           

                          INFO: Configuration assistant "Oracle Net Configuration Assistant" succeeded

                          INFO: Command = /u01/oracle/product/10.2.0/db_1/bin/dbca  -progress_only  -createDatabase -templateName General_Purpose.dbc -gdbName infradb -sid apps  -sysPassword 053221345ba434ac  -systemPassword 053221345ba434ac  -sysmanPassword 0053221345ba434a  -dbsnmpPassword 053221345ba434ac  -emConfiguration NOEMAIL  -hostUserName oracle -hostUserPassword 053221345ba434acsd    -datafileJarLocation /u01/oracle/product/10.2.0/db_1/assistants/dbca/templates  -datafileDestination /u01/oracle/product/10.2.0/oradata/ -responseFile NO_VALUE   -characterset WE8ISO8859P1   -obfuscatedPasswords true  -sampleSchema false -oratabLocation /u01/oracle/product/10.2.0/db_1/install/oratab  -recoveryAreaDestination /u01/oracle/product/10.2.0/flash_recovery_area/

                           

                          INFO: --------------------------------------

                          INFO: The "/u01/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.

                          INFO: The "/u01/oracle/product/10.2.0/db_1/cfgtoollogs/configToolAllCommands" script contains all commands to be executed by the configuration assistants. This file may be used to run the configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.

                          SEVERE: OUI-25029:One or more "Recommended" configuration assistants have not completed successfully. Not successfully running any "Recommended" assistant means your system will not be correctly configured.

                          INFO: User Selected: Yes/OK

                           

                          WARNING: Do you really want to exit?

                          INFO: User Selected: Yes/OK

                           

                          INFO: The OUICA command is launched from /u01/oracle/product/10.2.0/db_1/oui/bin/ouica.sh.

                          -----------------------------------------------------------------------------

                          *** Starting OUICA ***

                          Oracle Home set to /u01/oracle/product/10.2.0/db_1

                          Configuration directory is set to /u01/oracle/product/10.2.0/db_1/cfgtoollogs. All xml files under the directory will be processed

                           

                          Regards.

                          • 10. Re: Linking Error - ihsodbc sdo_on ctx_on
                            Nicholas Mans-Oracle

                            I suggest you post that issue in the database forums: Database