0 Replies Latest reply on Jan 31, 2008 4:45 PM by 807567

    ld.so.1: tar: fatal: relocation error: file /usr/sbin/tar: symbol fstatat64

    807567
      Hi Gurus.

      Please help in this one.

      When I try to use tar the following output is displayed:

      tar cvf 123.tar 123.txt

      ld.so.1: tar: fatal: relocation error: file /usr/sbin/tar: symbol fstatat64

      tar xvf 123.tar
      ld.so.1: tar: fatal: relocation error: file /usr/sbin/tar: symbol fchownat: referenced symbol not found
      Killed

      Check output ldd:

      ldd -r /usr/bin/tar
      libcmd.so.1 => /usr/lib/libcmd.so.1
      libsec.so.1 => /usr/lib/libsec.so.1
      libc.so.1 => /usr/lib/libc.so.1
      libdl.so.1 => /usr/lib/libdl.so.1
      /usr/platform/SUNW,Sun-Fire-xxx/lib/libc_psr.so.1
      symbol not found: attropen64 (/usr/sbin/tar)
      symbol not found: fstatat64 (/usr/sbin/tar)
      symbol not found: openat64 (/usr/sbin/tar)
      symbol not found: fchownat (/usr/sbin/tar)
      symbol not found: unlinkat (/usr/sbin/tar)
      symbol not found: futimesat (/usr/sbin/tar)
      symbol not found: fdopendir (/usr/sbin/tar)

      Output of: LD_LIBRARY_PATH

      echo $LD_LIBRARY_PATH
      /usr/lib:/usr/dt/lib:/opt/app/lib

      already try unset LD_LIBRARY_PATH

      Any ideas.

      I can tell You that tar was working fine 2 months ago.

      I suspect data corruption

      Many thanks
      ------------------------------------

      Allrounder