Dan Widyono on 10 Dec 2004 15:22:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] what could be broken?


You'll want to strace -f to follow the children as well if less runs
something else.  Most likely it's running the sleuthkit's version of file to
identify the type of file (complete guess here) before opening it for
"reading".  I believe more checks to make sure you don't try to view a binary
file.  The initial error output shown below points me to the file binary (in
"file: <error message>"... the "file:" part is the binary that's
complaining).

ldd sleuthkit's file binary to find libmagic.so.1.  I'm jumping in in the
middle, so I dont' recall if it's Eric who installed sleuthkit, or someone
else.

Dan W.

On Fri, Dec 10, 2004 at 09:33:15AM -0500, Andy Libby wrote:
> One thing you can try is to strace less.  
> 
> strace -o output less file.gz

> On Wed, 8 Dec 2004 12:21:15 -0500, eric@lucii.org <eric@lucii.org> wrote:
> > I've recently noticed a strange behavior from my SuSE 9.1 system when I
> > call on the pager, /usr/bin/less.

> >   [eric]$ less fetchmail/fetchmail.archive.001.gz
> >   file: error while loading shared libraries: libmagic.so.1: cannot open
> >   shared object file: No such file or directory

-- 
-- Daniel Widyono             --
-- www.widyono.net            --
-- www.cis.upenn.edu/~widyono --
-- 
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug