On Jan 20, 2009, at 1:54 AM, chandra reddy wrote:
Hi,
I am getting the following error when i run tar on a directory.
[chan...@home]$ tar zcf config-xsl.tar config-xsl/9.6
tar: Cannot open directory
config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/
bfd-liveness-detection/detection-time:
No such file or directory
tar: Cannot open directory
config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/
bfd-liveness-detection/failure-action:
No such file or directory
[chan...@home]$ ldd tar
tar:
libc.so.6 => /usr/local/lib/compat/libc.so.6 (0x28097000)
I am a little confused by the above. It shows your tar binary being
linked to a library from freebsd 6 NOT 7. Did you update your "world"
when you updated your kernel to 7?
This is the appropriate output on a recent CURRENT:
# ldd /usr/bin/tar
/usr/bin/tar:
libarchive.so.4 => /usr/lib/libarchive.so.4 (0x800649000)
libbz2.so.3 => /usr/lib/libbz2.so.3 (0x800774000)
libz.so.4 => /lib/libz.so.4 (0x800884000)
libc.so.7 => /lib/libc.so.7 (0x800998000)
IIRC, 7 should have very similar output and should be linked to
libc.so.7.
chan...@home]$ uname -a
FreeBSD chandra 7.1-RC1 FreeBSD 7.1-RC1 #0: Sun Dec 7 05:57:33 UTC
2008
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
I have debugged libc and found that system call "fstafs" is failing
and
returning -1.
Can any one help me what is the real problem here and how to fix it?
Thanks
Chandra_
My best guess is that you have an incompletely upgraded system.
Chris Ruiz
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"