Operating System - HP-UX
1820636 Members
1913 Online
109626 Solutions
New Discussion юеВ

Re: tar > 2GB problems install gnu tar

 
SOLVED
Go to solution
Ratzie
Super Advisor

tar > 2GB problems install gnu tar

Can some one help by making this thick pea soup fog alittle clearer...

I have a server HPUX 11.00 9000/800/L3000-7x

I NEED to tar files greater than 2 GB, and I think probably larger that 8
GB.
I did down load and install what I thought was GNU tar... (is it?)
http://hpux.asknet.de/ftp/hpux/Gnu/tar-1.13.25/tar-1.13.25-sd-11.00.depot.gz

I installed the depot without any errors, and when I tried to run the
/usr/local/bin/tar I got errors regarding...
/usr/lib/dld.sl: Can't iped shard library: /usr/local/lib/libiconv.sl

So I installed the
libiconv-1.9-sd-11.00.depot
No errors on install, but then received another error regarding...
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libintl.sl
/usr/lib/dld.sl: No such file or directory

This bugger just does not want to install! Also, how would I check the man
pages of this gnu tar, it kept opening up the default tar, /usr/bin/tar

So all that aside I then tried to do the patch from HP site....PHCO_29229
This has awhole whack of dependencies.... Also changes to the kernel. Are
all these patches needed?! It would require a reboot.
I had alook, and I have about half of the patches already, there are a
couple kernel patches that I am missing, this would require a reboot...


Has anyone installed the gnu tar from The HPUX porting and Archive Centre?
Does this depot support files larger than 2 GB and also greater that 8?
How the heck do you install it???

Will Hp build support into there tar for larger than 8 GB? Should I go with
this depot instead?
What a night mare!

Laura


4 REPLIES 4
Paulo A G Fessel
Trusted Contributor

Re: tar > 2GB problems install gnu tar

From my personal experience, every time you need applications with 64-bit file addressing I think that it's better you build them yourself. This has been true for me both for rsync and OpenSSH, for example.

You won't need the HP Compiler; latest versions of GCC will do fine. I just grabbed the package right now and it's stated in the HPUX.Install file that it does support large files.

Also, the package installs in /usr/local/bin. To differentiate GNU tar from HP-UX's tar, add a symlink from /usr/local/bin/tar to /usr/bin/gtar.

Finally, you could ger also libintl.sl - it's included in the "gettext" package, available for download at the Porting Centre:

http://hpux.connect.org.uk/ftp/hpux/Gnu/gettext-0.12/gettext-0.12-sd-11.00.depot.gz

HTH
Paulo Fessel
L'employ├Г┬й propose, le boss dispose.
Jeff Schussele
Honored Contributor

Re: tar > 2GB problems install gnu tar

Hi Laura,

Did you install the depencies for GNU tar?

gettext

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gettext-0.12/

and libiconv

http://hpux.cs.utah.edu/hppd/hpux/Development/Libraries/libiconv-1.9/

The error is indicative of not having the latter.

Also, here's the man page:

http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/man.html


HTH,
Jeff

PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Pete Randall
Outstanding Contributor
Solution

Re: tar > 2GB problems install gnu tar

Would you stop closing your questions, please? It causes them to jump to the top of the forums, cluttering the page and possibly causing someone's problem to be missed.

Thanks,
Pete

Pete
Borislav Perkov
Respected Contributor

Re: tar > 2GB problems install gnu tar

Hi,
You can use split command for files bigger than 2GB, or fbackup.

Regards,
Borislav