1 2 Previous Next 16 Replies Latest reply on Oct 5, 2011 5:10 AM by 892517

    libclntsh.so.11.1: undefined symbol: nnftboot

    marwooj
      Hi everybody, it is my first post here :-)
      I am trying to install 11g on linux.
      after install I am getting

      sqlplus: symbol lookup error: /opt/ora/home/lib/libclntsh.so.11.1: undefined symbol: nnftboot

      What went wrong?
        • 1. Re: libclntsh.so.11.1: undefined symbol: nnftboot
          Hans Forbrich
          - Which Linux?
          - Did you run the root.sh after the install?
          - Do you have any other Oracle products installed?
          - Do you have LD_LIBRARY_PATH ORACLE_HOME and ORACLE_SID set and are they valid?
          - How many ORACLE_HOME/bin values are in PATH
          - What is the output of "find -name libclntsh.so\* -exec ls -l {}\;"
          • 2. Re: libclntsh.so.11.1: undefined symbol: nnftboot
            marwooj
            - Which Linux?
            Archlinux

            - Did you run the root.sh after the install?
            Yes
            - Do you have any other Oracle products installed?
            Yes BEA
            - Do you have LD_LIBRARY_PATH ORACLE_HOME and ORACLE_SID set and are they valid?
            YES
            [root@al ~]# export | grep ORA
            declare -x ORACLE_BASE="/opt/ora"
            declare -x ORACLE_HOME="/opt/ora/home"
            declare -x ORACLE_SID="xdb"

            - How many ORACLE_HOME/bin values are in PATH
            one ?
            [root@al ~]# export | grep PATH
            declare -x LD_LIBRARY_PATH="/opt/ora/home/lib:"
            declare -x PATH="/opt/ora/home/bin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core"
            declare -x PKG_CONFIG_PATH="/usr/lib/pkgconfig"

            - What is the output of "find -name libclntsh.so\* -exec ls -l {}\;"

            -rwxr-xr-x 1 marek users 34393785 2009-09-30 18:06 /opt/ora/home/lib/libclntsh.so.11.1
            lrwxrwxrwx 1 marek users 30 2009-09-30 18:00 /opt/ora/home/lib/libclntsh.so.10.1 -> /opt/ora/home/lib/libclntsh.so
            lrwxrwxrwx 1 marek users 35 2009-09-30 18:05 /opt/ora/home/lib/libclntsh.so -> /opt/ora/home/lib/libclntsh.so.11.1

            but

            lrwxrwxrwx 1 marek users 35 2009-09-30 18:05 /opt/ora/home/lib/libclntsh.so -> /opt/ora/home/lib/libclntsh.so.11.1
            lrwxrwxrwx 1 marek users 30 2009-09-30 18:00 /opt/ora/home/lib/libclntsh.so.10.1 -> /opt/ora/home/lib/libclntsh.so
            -rwxr-xr-x 1 marek users 0 2009-10-01 13:34 /opt/ora/home/lib/libclntsh.so.11.1
            -rw-r--r-- 1 marek users 0 2007-08-03 01:20 /opt/ora/home/lib/libclntst11.a

            libclntsh.so.11.1 and libclntst11.a are null :-(
            • 3. Re: libclntsh.so.11.1: undefined symbol: nnftboot
              Hans Forbrich
              marwooj wrote:
              - What is the output of "find -name libclntsh.so\* -exec ls -l {}\;"

              -rwxr-xr-x 1 marek users 34393785 2009-09-30 18:06 /opt/ora/home/lib/libclntsh.so.11.1
              lrwxrwxrwx 1 marek users 30 2009-09-30 18:00 /opt/ora/home/lib/libclntsh.so.10.1 -> /opt/ora/home/lib/libclntsh.so
              lrwxrwxrwx 1 marek users 35 2009-09-30 18:05 /opt/ora/home/lib/libclntsh.so -> /opt/ora/home/lib/libclntsh.so.11.1

              but

              lrwxrwxrwx 1 marek users 35 2009-09-30 18:05 /opt/ora/home/lib/libclntsh.so -> /opt/ora/home/lib/libclntsh.so.11.1
              lrwxrwxrwx 1 marek users 30 2009-09-30 18:00 /opt/ora/home/lib/libclntsh.so.10.1 -> /opt/ora/home/lib/libclntsh.so
              -rwxr-xr-x 1 marek users 0 2009-10-01 13:34 /opt/ora/home/lib/libclntsh.so.11.1
              -rw-r--r-- 1 marek users 0 2007-08-03 01:20 /opt/ora/home/lib/libclntst11.a

              libclntsh.so.11.1 and libclntst11.a are null :-(
              This is interesting - could you explain the difference between the two /opt/ora/home/lib/libclntsh.so.11.1 listings? How can ls -l show exactly the same file with two different timestamps and two different sizes? How did you get the one after the 'but'?
              • 4. Re: libclntsh.so.11.1: undefined symbol: nnftboot
                marwooj
                after find -name ...
                I did
                cd lib
                ls -l

                :-)
                • 5. Re: libclntsh.so.11.1: undefined symbol: nnftboot
                  Hans Forbrich
                  marwooj wrote:
                  after find -name ...
                  I did
                  cd lib
                  ls -l

                  :-)
                  This is SOOO confusing. Apparently the same file has two different sizes and two different time stamps at the same time
                  -rwxr-xr-x 1 marek users *34393785 2009-09-30 18:06* /opt/ora/home/lib/libclntsh.so.11.1
                  but
                  -rwxr-xr-x 1 marek users *0 2009-10-01 13:34* /opt/ora/home/lib/libclntsh.so.11.1
                  • 6. Re: libclntsh.so.11.1: undefined symbol: nnftboot
                    marwooj
                    I have reinstalled everything.
                    No it is
                    [marek@al lib]$ ls -l libclnts*
                    lrwxrwxrwx 1 marek users 35 2009-10-02 10:00 libclntsh.so -> /opt/ora/home/lib/libclntsh.so.11.1
                    lrwxrwxrwx 1 marek users 30 2009-10-02 09:55 libclntsh.so.10.1 -> /opt/ora/home/lib/libclntsh.so
                    -rwxr-xr-x 1 marek users 34393785 2009-10-02 10:24 libclntsh.so.11.1
                    -rw-r--r-- 1 marek users 0 2007-08-03 01:20 libclntst11.a

                    So I am just messing libclntst11.a.
                    Where can I get this one?
                    • 7. Re: libclntsh.so.11.1: undefined symbol: nnftboot
                      marwooj
                      more on this I have in
                      oraInstall2009-10-02_09-26-34AM.err

                      java.lang.UnsatisfiedLinkError: jniGetOracleHome
                      at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
                      at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
                      at oracle.net.ca.NetCA.main(Unknown Source)
                      Oracle Net Services configuration failed. The exit code is -1
                      -----
                      and in silentInstall2009-10-02_09-26-34AM.log

                      Error in invoking target 'relink' of makefile '/opt/ora/home/precomp/lib/ins_precomp.mk'. See '/opt/oraInventory/logs /installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'ioracle client_sharedlib' of makefile '/opt/ora/home/rdbms/lib/ins_rdbms.mk'. See '/opt/ora Inventory/logs/installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'install' of makefile '/opt/ora/home/sqlplus/lib/ins_sqlplus.mk'. See '/opt/oraInventory/log s/installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'preinstall itrcroute itnsping' of makefile '/opt/ora/home/network/lib/ins_net_client.mk'. S ee '/opt/oraInventory/logs/installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'irman' of makefile '/opt/ora/home/rdbms/lib/ins_rdbms.mk'. See '/opt/oraInventory/logs/inst allActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'install' of makefile '/opt/ora/home/plsql/lib/ins_plsql.mk'. See '/opt/oraInventory/logs/in stallActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'utilities' of makefile '/opt/ora/home/rdbms/lib/ins_rdbms.mk'. See '/opt/oraInventory/logs/ installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'clientonlyinstall' of makefile '/opt/ora/home/ldap/lib/ins_ldap.mk'. See '/opt/oraInventory /logs/installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'ntcontab.o nnfgt.o install' of makefile '/opt/ora/home/network/lib/ins_net_client.mk'. See '/opt/oraInventory/logs/installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'ioklist iokinit iokdstry' of makefile '/opt/ora/home/network/lib/ins_nau.mk'. See '/opt/ora Inventory/logs/installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'agent nmb nmo nmhs tclexec' of makefile '/opt/ora/home/sysman/lib/ins_emagent.mk'. See '/op t/oraInventory/logs/installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'all_no_orcl' of makefile '/opt/ora/home/rdbms/lib/ins_rdbms.mk'. See '/opt/oraInventory/log s/installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'install' of makefile '/opt/ora/home/srvm/lib/ins_srvm.mk'. See '/opt/oraInventory/logs/inst allActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'racg_install' of makefile '/opt/ora/home/racg/lib/ins_has.mk'. See '/opt/oraInventory/logs/ installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'install' of makefile '/opt/ora/home/network/lib/ins_net_server.mk'. See '/opt/oraInventory/ logs/installActions2009-10-02_09-26-34AM.log' for details.
                      Error in invoking target 'install' of makefile '/opt/ora/home/ctx/lib/ins_ctx.mk'. See '/opt/oraInventory/logs/instal lActions2009-10-02_09-26-34AM.log' for details.
                      SEVERE:OUI-10104:Some of the configuration assistants failed/were cancelled. It is strongly recommended that you retr y the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured. Select the failed assistants and click the 'Retry' button to retry them.
                      -----

                      cat installActions2009-10-02_09-26-34AM.log | grep nnftboot
                      /opt/ora/home/lib//libclntsh.so: undefined reference to `nnftboot'
                      INFO: a(nnfgt.o):(.rodata+0x64): undefined reference to `nnftboot'
                      /opt/ora/home/lib//libclntsh.so: undefined reference to `nnftboot'
                      INFO: nnftboot
                      INFO: /libclntsh.so: undefined reference to `nnftboot'
                      INFO: `nnftboot'
                      /opt/ora/home/lib//libclntsh.so: undefined reference to `nnftboot'
                      INFO: to `nnftboot'
                      INFO: nnftboot
                      /opt/ora/home/lib//libclntsh.so: undefined reference to `nnftboot'
                      /opt/ora/home/lib//libclntsh.so: undefined reference to `nnftboot'
                      INFO: undefined reference to `nnftboot'
                      /opt/ora/home//lib//libclntsh.so: undefined reference to `nnftboot'
                      /opt/ora/home/lib//libclntsh.so: undefined reference to `nnftboot'
                      /opt/ora/home/lib//libclntsh.so: undefined reference to `nnftboot'
                      INFO: nnftboot

                      Edited by: marwooj on 2009-10-01 23:39
                      • 8. Re: libclntsh.so.11.1: undefined symbol: nnftboot
                        Zoltan Kecskemethy
                        Zero size files are OK in $ORACLE_HOME/lib dir.
                        See my working server log:
                        oracle@myservername:~/app/oracle/product/11.2.0/dbhome_1/lib> find . -size 0
                        ./libnmefw.so.0
                        ./libnmcfhc.so.0
                        ./libnmarl.so.0
                        ./libnmefsp.so.0
                        ./libnmefport.so.0
                        ./libnmevsp.so.0
                        ./libclntst11.a
                        ./libnmeoci.so.0
                        ./libnmefut.so.0
                        ./libnmefojmx.so.0
                        ./libnmefsql.so.0
                        ./libnmadbg.so.0
                        ./libnmalk.so.0
                        ./libnmasf.so.0
                        ./libnmefsqlt.so.0
                        ./libnmemso.so.0
                        ./libnmastk.so.0
                        ./libnmadm.so.0
                        ./libnmefos.so.0
                        ./libnmefud.so.0
                        ./libnmefvr.so.0
                        ./libnmevc.so.0
                        ./libnmevq.so.0
                        ./libnmefdms.so.0
                        ./libnmefpfa.so.0
                        ./libnmcfsga.so.0
                        oracle@myservername:~/app/oracle/product/11.2.0/dbhome_1/lib> ls -l ./libnmefw.so.0
                        -rw-r--r-- 1 oracle oinstall 0 Aug 13 23:16 ./libnmefw.so.0
                        oracle@myservername:~/app/oracle/product/11.2.0/dbhome_1/lib> ls -l libclntst11.a
                        -rw-r--r-- 1 oracle oinstall 0 Aug 13 23:14 libclntst11.a
                        even bin has zero size files...

                        Do you still have issues with sqlplus?
                        • 10. Re: libclntsh.so.11.1: undefined symbol: nnftboot
                          Zoltan Kecskemethy
                          Yes of course. This is a working system as I stated earlier.
                          • 11. Re: libclntsh.so.11.1: undefined symbol: nnftboot
                            marwooj
                            [root@al lib]# ldd -r libclntsh.so.11.1
                            linux-gate.so.1 => (0xb7fe2000)
                            libnnz11.so => /opt/ora/home/lib/libnnz11.so (0xb651a000)
                            libdl.so.2 => /lib/libdl.so.2 (0xb650e000)
                            libm.so.6 => /lib/libm.so.6 (0xb64e8000)
                            libpthread.so.0 => /lib/libpthread.so.0 (0xb64cf000)
                            libnsl.so.1 => /lib/libnsl.so.1 (0xb64b7000)
                            libc.so.6 => /lib/libc.so.6 (0xb6371000)
                            libaio.so.1 => /usr/lib/libaio.so.1 (0xb636f000)
                            /lib/ld-linux.so.2 (0xb7fe3000)
                            undefined symbol: nnftboot (./libclntsh.so.11.1)
                            undefined symbol: nnfhboot (./libclntsh.so.11.1)
                            undefined symbol: nnflboot (./libclntsh.so.11.1)
                            undefined symbol: nttini (./libclntsh.so.11.1)
                            undefined symbol: ntzini (./libclntsh.so.11.1)
                            undefined symbol: nttsdpini (./libclntsh.so.11.1)
                            undefined symbol: ntpini (./libclntsh.so.11.1)
                            undefined symbol: ntusini (./libclntsh.so.11.1)
                            undefined symbol: nttaddrdmpcb (./libclntsh.so.11.1)
                            undefined symbol: nnflgapc (./libclntsh.so.11.1)
                            undefined symbol: nnflrne (./libclntsh.so.11.1)
                            undefined symbol: nnflfrm (./libclntsh.so.11.1)
                            undefined symbol: nnflgav (./libclntsh.so.11.1)
                            • 12. Re: libclntsh.so.11.1: undefined symbol: nnftboot
                              Zoltan Kecskemethy
                              You have an installation issue that is clear. I
                              just wanted to add that zero size files are regular part of successful oracle db installation.

                              Please note I did my previous find in 11gR2 dir but here it is the same for 11gR1 (I found out this since there is no libclntsh.so.11.1 file in 11gR2)
                              oracle@myservername:~/app/oracle/product/11.1.0/db_1/lib> ldd -r libclntsh.so.11.1
                              /etc/libcwait.so (0x00111000)
                              /lib/libcwait.so (0x005bf000)
                              libnnz11.so => /home/oracle/app/oracle/product/11.1.0/db_1/lib/libnnz11.so (0x00113000)
                              libdl.so.2 => /lib/libdl.so.2 (0x002bf000)
                              libm.so.6 => /lib/i686/libm.so.6 (0x002c3000)
                              libpthread.so.0 => /lib/i686/libpthread.so.0 (0x0045a000)
                              libnsl.so.1 => /lib/libnsl.so.1 (0x002e6000)
                              libc.so.6 => /lib/i686/libc.so.6 (0x002fd000)
                              libaio.so.1 => /usr/lib/libaio.so.1 (0x0042b000)
                              /lib/ld-linux.so.2 (0x00660000)
                              oracle@myservername:~/app/oracle/product/11.1.0/db_1/lib> find . -size 0
                              ./libnmefw.so.0
                              ./libnmcfhc.so.0
                              ./libnmarl.so.0
                              ./libnmefsp.so.0
                              ./libnmefport.so.0
                              ./libnmevsp.so.0
                              ./libclntst11.a
                              ./libnmuc.so.0
                              ./libnmeoci.so.0
                              ./libnmefut.so.0
                              ./libnmefojmx.so.0
                              ./libnmefsql.so.0
                              ./libnmadbg.so.0
                              ./libnmalk.so.0
                              ./libnmasf.so.0
                              ./libnmefsqlt.so.0
                              ./libnmemso.so.0
                              ./libnmastk.so.0
                              ./libnmadm.so.0
                              ./libnmefos.so.0
                              ./libnmefud.so.0
                              ./libnmefvr.so.0
                              ./libnmevq.so.0
                              ./libnmefdms.so.0
                              ./libnmefpfa.so.0
                              ./libnmcfsga.so.0
                              BTW why dont you use 11gR2 ?!
                              • 13. Re: libclntsh.so.11.1: undefined symbol: nnftboot
                                Zoltan Kecskemethy
                                BTW Arch Linux is not supported.
                                Do you know this page? [Oracle Database 11gR1 on Arch Linux|http://wiki.archlinux.org/index.php/Oracle]
                                I think you have some kind of dependency issue...

                                Edited by: Kecskemethy on Oct 2, 2009 3:06 AM
                                1 2 Previous Next