1834449 Members
2373 Online
110067 Solutions
New Discussion

Re: GNU tar

 
Johnny Anderson
New Member

GNU tar

I have GNU tar 1.13.2001-06-12 install on an 11.i system along with it's dependencies gettext 0.11.5 and libiconv 1.8. When I try and run /usr/local/bin/tar I get cannot execute. Are there any other dependencies or perhaps I don't have the right verision(s) installed?

6 REPLIES 6
Jeff Schussele
Honored Contributor

Re: GNU tar

Hi Johnny,

What are the permissions/ownership on /usr/local/bin/tar?

Did you get this from GNU directly or from the Hp-UX Porting/Archive Center?

There are 10.2, 11.00 & 11.20 versions available - which did you get?

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sridhar Bhaskarla
Honored Contributor

Re: GNU tar

Hi,

What error are you getting?. Can you do a file /usr/local/bin/tar and see if it lists as PA-RISCx.x executable file. You might have downloaded a wrong version.

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

should have a 11i version. Makesure gettext and libiconv are also of 11i versions.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jeff Schussele
Honored Contributor

Re: GNU tar

Perms should be
-r-xr-xr-x bin bin
on /usr/local/bin/tar.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sridhar Bhaskarla
Honored Contributor

Re: GNU tar

Also wondering if you are using IPF version of gtar. It won't work on PA-RISC architecture. Try loading 11.0 version of GNU tar. It should work.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
H.Merijn Brand (procura
Honored Contributor

Re: GNU tar

Also show what 'file' gives you:

HP-UX 11.00 on PA-RISC should give
# file tar
tar: PA-RISC2.0 shared executable dynamically linked

for 32bit or

# file tar
tar: ELF-64 executable object file - PA-RISC 2.0 (LP64)

for 64bit

On HP-UX 10.20 it should give:
tar: PA-RISC1.1 shared executable dynamically linked

Enjoy, Have FUN! H.Merijn
Jose Mosquera
Honored Contributor

Re: GNU tar

Hi,

Is the execution path defined in the file /etc/PATH?

Rgds.