Sponsored Content
Full Discussion: Gtar Lib file not found.
Operating Systems Solaris Gtar Lib file not found. Post 302552904 by ajaincv on Tuesday 6th of September 2011 04:27:26 AM
Old 09-06-2011
Gtar Lib file not found.

Hello All,

I am preparing a script to view or Extract contents of a tape drive using gtar.But facing a strange issue while trying to extract files using gtar.

If running script using sudo the getting the below error.

################
Code:
/usr/local/lib /usr/X11/lib /usr/X11R6/lib /usr/openwin/lib /usr/dt/lib /usr/lib /usr/local/lib/libiconv.so.2
        libiconv.so.2 =>         (file not found)
        librt.so.1 =>    /usr/lib/librt.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
@#

#################

If running script directly from root then no issues. it gets the path to libiconv.so.2 lib which is in /usr/local/lib/

###############
Code:
maruti# /mot/systems/backup/restore_script.sh
/usr/local/lib /usr/X11/lib /usr/X11R6/lib /usr/openwin/lib /usr/dt/lib /usr/lib /usr/local/lib/libiconv.so.2
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        librt.so.1 =>    /usr/lib/librt.so.1
        libc.so.1 =>     /usr/lib/libc.so.1

#################

Code:
maruti# ls -l /usr/local/lib/libiconv.so.2
lrwxrwxrwx   1 root     other         17 Oct  7  2009 /usr/local/lib/libiconv.so.2 -> libiconv.so.2.4.0
maruti# ls -l /usr/local/lib/libiconv.so.2.4.0
-rwxrwxrwx   1 root     bin      1069548 Nov 20  2006 /usr/local/lib/libiconv.so.2.4.0
maruti#


I suspect its a link issue.Can anyone let me how to solved the issue.

Regards

Ankit

Last edited by pludi; 09-06-2011 at 06:07 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

gtar error

Hi All, We have a gtar file and we are trying to untar the file with the option gtar -xvzf <filename> The gtar gets us till the end and throws the error message as highlighed below mfcp/XFHFCD2.CPY mfcp/XFHFCD3.CPY mfcp/XFHFCD.CPY gzip: stdin: unexpected end of file gtar:... (1 Reply)
Discussion started by: ganga.dharan
1 Replies

2. UNIX for Dummies Questions & Answers

gtar - question

I am trying to write a very large file, 570 gb, to a tape using gtar like this : gtar czxf /dev/rmt/1 ./* I get a message: off_t value 570635451556 too large (max=68719476735) It is writing to tape, but will it be good? Thanks (1 Reply)
Discussion started by: iancrozier
1 Replies

3. Solaris

about gtar command with zcvf options

Hi all, will gtar zcvf command work in csh and tcsh shells? Becuase when i'm executing one script in bash and ksh, it's working fine. But it's not working in csh and tcsh shells. We have to run multiple scripts in tcsh, so we can not change the shell while executing these scripts. One of my... (2 Replies)
Discussion started by: raghu.iv85
2 Replies

4. Solaris

/usr/lib/passwdutil.so.1: symbol __nsl_fgetspent_r: referenced symbol not found

deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies

5. Red Hat

ls: /lib/libattr.so.1: no version information available (required by /lib/libacl.so.1)

Hello, I'm experimenting a problem on my rh server. Red Hat Enterprise Linux AS release 3 (Taroon Update 8) 2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux It started with a segmentation fault on #id root To resolve it, I've installed coreutils-4.5.3-28.4.i386.rpm But, I... (6 Replies)
Discussion started by: gogol_bordello
6 Replies

6. Red Hat

Cannot start httpd service `GLIBC_2.4' not found (required by /lib/libgcc_s.so.1)

# service httpd start Starting httpd: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/libphp4.so into server: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /lib/libgcc_s.so.1) I... (2 Replies)
Discussion started by: getrue
2 Replies

7. Shell Programming and Scripting

Shared File system- lib access issue

I have a C++ binary executable installed in a file system which is shared across multiple solaris boxes. When I start this executable from one of the boxes,I am able to start only 4 parallel instances and from the 5th instance onwards I am getting the following error. fatal: libdb2.so.1:... (2 Replies)
Discussion started by: prasperl
2 Replies

8. AIX

GTAR - new ways for faster backup - help required

We are taking backup of our application data(cobol file system, AIX/unix) before and after EOD job runs. The data size is approximately 260 GB in biggest branch. To reduce the backup time, 5 parallel execution is scheduled through control-m which backups up the files in 5 different *.gz. The job... (2 Replies)
Discussion started by: Bharath_79
2 Replies

9. AIX

GTAR - new ways to faster backup - help required

We are taking backup of our application data(cobol file system, AIX/unix) before and after EOD job runs. The data size is approximately 260 GB in biggest branch. To reduce the backup time, 5 parallel execution is scheduled through control-m which backups up the files in 5 different *.gz. The job... (8 Replies)
Discussion started by: Bharath_79
8 Replies

10. Red Hat

./Vega6: /lib/libc.so.6: version `GLIBC_2.15' not found (required by ./Vega6)

Hello, I am trying to run a chess pairing program called Vega Chess on RHEL 6.5 Server $ uname -a Linux CDMA 2.6.32-431.el6.i686 #1 SMP Sun Nov 10 22:20:22 EST 2013 i686 i686 i386 GNU/Linux $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.5 (Santiago)This is the way I... (6 Replies)
Discussion started by: Ferocci
6 Replies
PLXLOAD(1p)						User Contributed Perl Documentation					       PLXLOAD(1p)

NAME
plxload - show what files a perl program loads at compile time SYNOPSYS
$ plxload DESCRIPTION
This program is used to show what modules a program would load at compile time via "use". Because this installs an at-exit handler and then uses Perl's -c flag for compile only, it will not find modules loaded at run-time. Use the Devel::Loaded module for that. EXAMPLES
$ plxload perldoc /usr/local/devperl/lib/5.00554/Exporter.pm /usr/local/devperl/lib/5.00554/strict.pm /usr/local/devperl/lib/5.00554/vars.pm /usr/local/devperl/lib/5.00554/i686-linux/Config.pm /usr/local/devperl/lib/5.00554/Getopt/Std.pm $ plxload /usr/src/perl5.005_54/installhtml /usr/local/devperl/lib/5.00554/Carp.pm /usr/local/devperl/lib/5.00554/Exporter.pm /usr/local/devperl/lib/5.00554/auto/Getopt/Long/autosplit.ix /usr/local/devperl/lib/5.00554/strict.pm /usr/local/devperl/lib/5.00554/vars.pm /usr/local/devperl/lib/5.00554/Pod/Functions.pm /usr/local/devperl/lib/5.00554/Getopt/Long.pm /usr/local/devperl/lib/5.00554/i686-linux/Config.pm /usr/local/devperl/lib/5.00554/lib.pm /home/tchrist/perllib/Pod/Html.pm /usr/local/devperl/lib/5.00554/Cwd.pm /usr/local/devperl/lib/5.00554/AutoLoader.pm SEE ALSO
Devel::Loaded and pmload(1). AUTHORS and COPYRIGHTS Copyright (C) 1999 Tom Christiansen. Copyright (C) 2006-2008 Mark Leighton Fisher. This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the Perl 5 licensing scheme.) Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl "Artistic License". perl v5.10.1 2010-02-22 PLXLOAD(1p)
All times are GMT -4. The time now is 02:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy