It turns out that /usr/sbin/tar on my Solaris 10 system is not statically linked (there is no /usr/sbin/static, and I checked ldd tar). Does anyone know where I can get a statically-linked tar, or should I just suck it up and copy all of the library dependencies over? I can script that; I'm just annoyed that I have to.

On Sun, Aug 21, 2011 at 4:47 PM, Kevin McGregor <kevin.a.mcgregor@gmail.com> wrote:
I'll just try this:
/usr/bin/cp /usr/sbin/static/tar /tmp
/usr/bin/dd if=file.tar | /usr/bin/chroot /tmp ./tar xf -

And see what happens. It's a short-term situation, so this should be sufficient.


On Sun, Aug 21, 2011 at 1:13 PM, John Lange <john@johnlange.ca> wrote:
You can always download and compile GNU tar on Solaris if you need it.
I had to do that once some years back because of some Solaris bug that
prevented me from untaring.

It only takes a few minutes and saves a lot of time in the long run
trying to figure out the Solaris tar equivalents of the GNU tar
commands you're used to.

John
_______________________________________________
Roundtable mailing list
Roundtable@muug.mb.ca
http://www.muug.mb.ca/mailman/listinfo/roundtable