Solved

tar -xf tar: fatal: libintl.so.8 error

Posted on 2009-04-09
8
4,216 Views
Last Modified: 2013-12-27
Hi Experts,

When I try to use the tar -xf pcns223sol.tar, I receive the following:

tar pcns223sol.tar
ld.so.1: tar: fatal: libintl.so.8: open failed: No such file or directory
Killed

I just ran this same file on another test server without issue.

Any ideas on what might be causing this tar error to occur?

Thanks,
byd2k
0
Comment
Question by:byd2k
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 22

Expert Comment

by:blu
ID: 24110602
That is odd. Do "which tar", the normal tar on Solaris doesn't link with libintl.so.8. Are you using gnu tar or something else by mistake?
0
 

Author Comment

by:byd2k
ID: 24110619
I or the contractor probably installed GNU at one point in time hoping it would correct a similar issue a long time ago.  Is there a way to not use GNU tar and use the default version?

Thanks again,
byd2k

0
 
LVL 22

Accepted Solution

by:
blu earned 200 total points
ID: 24110726
Sure. The short term solution is to simply call tar by it's full path:

/usr/bin/tar -xf pcns223sol.tar

But you could still do the "which tar" to find out where it is installed and adjust your path.
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

Author Comment

by:byd2k
ID: 24111166
Great that worked!  

The application looks like it actually wants to use Tar to extract additional data.

How do you uninstall or adjust the existing path /usr/local/bin/tar to /usr/bin/tar permanently?

Thanks,
byd2k

0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 50 total points
ID: 24111819
look at the PATH env variable, which contains dir names to look for  commands

echo $PATH
PATH=/usr/bin:path1:path2
0
 
LVL 22

Assisted Solution

by:blu
blu earned 200 total points
ID: 24112570
Somewhere on you path is certainly /usr/local/bin. Also, there is /usr/bin. Your choices are to either uninstall the /usr/local/bin/tar file or swtich them around on your PATH variable, or always call tar as /usr/bin/tar.
The problem with the first is that somebody may be using /usr/local/bin/tar. The problem with the second is that you may find that there are other executables in /usr/local/bin that you want to take precedence over what is in /usr/bin, and the last one is a pain. You have to figure out which is best.

If you do decide to reverse the order on the PATH, look in a file called .login, or .profile or .cshrc (depending on you shell) in your home directory. That is most likely where /usr/local/bin is added to the path.
0
 

Author Comment

by:byd2k
ID: 24130408
Thank you for your help.

I decided to create another user account in which the default tar version is stored under /usr/bin/tar.  I then used sudo for admin rights versus running root to install an updated APC network shutdown application.

Thanks to all of your for your help,
byd2k
0
 

Author Closing Comment

by:byd2k
ID: 31568684
Thank you all for your help.

I ended up creating a new user.  I used that user's default profile which used /usr/local/bin/tar file.  I proceeded to install the APC application which in turn used the default tar program to install Java.

I'm going to leave the path alone abased on blu's last post.

-byd2k
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question