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

Re: Wrong magic bytes -> corrupted file?



On Sat, Jan 30, 2010 at 07:40:00PM +0100, Merciadri Luca wrote:
> 
> I am encountering
> 
> ==
> ldconfig: /usr/lib/libwins.so is not an ELF file - it has the wrong magic bytes at the start.
> ==
> 
> from ldconfig. Everything seems however to work nicely. Some questions
> naturally arise:
> 
> 1. What is the role of libwins.so?

Normally files that are simply .so (without any extra version) under
*/lib/ are symlinks intended for build-time. Maybe this is merely a
dandling link?

What is the output of:

  ls -l /usr/lib/libwins.so

And then again, you can check the magic directly:

  file /usr/lib/libwins.so

> 2. Should I simply download libwins.so in BIN from an FTP server, and
> put it there, to solve the problem?

Is it part of some package? I get no hits for 'apt-file search
/usr/lib/libwins.so' here (squeeze, amd64).

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: