Re: Wrong magic bytes - corrupted file?

2010-01-31 Thread Tzafrir Cohen
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 | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Wrong magic bytes - corrupted file?

2010-01-31 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tzafrir Cohen tzaf...@cohens.org.il writes:

 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
Not joyful:

==
# ls -l /usr/lib/libwins.so 
ls: cannot access /usr/lib/libwins.so: No such file or directory
==

Is it possible, or must this file have disappeared since last try?


 And then again, you can check the magic directly:

   file /usr/lib/libwins.so
By the same mechanism,

==
# file /usr/lib/libwins.so
/usr/lib/libwins.so: ERROR: cannot open `/usr/lib/libwins.so' (No such file or 
directory)
==

Note that I received this error when installing some packages. (I do
not remember their names, sorry.)

 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).

I do not know. I do not even know its role. I tried googling about it,
but it did not show me anything interesting.

Thanks.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

Don't try to teach a pig to sing. It doesn't work, and you'll annoy
  the pig. 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAktlzCYACgkQM0LLzLt8MhyTCgCgo3xo7+D7k1FqYz64BEGYEK9m
eVcAniyQx0oMDy8dx+LnSmhy49Qbe8Hj
=G6Iq
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Wrong magic bytes - corrupted file?

2010-01-30 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

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?
2. Should I simply download libwins.so in BIN from an FTP server, and
put it there, to solve the problem?

Thanks for any help.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

A woman's work is never done. (A man may work from sun to sun, but a
  woman's work is never done, meaning that a man's traditional role as
  breadwinner may keep him occupied from sun-up to sundown, but the
  traditional roles of a woman demand even longer hours of work.)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAktkfP4ACgkQM0LLzLt8MhzEngCfUlT2kX4qygATvyeBhb3ddy59
9h4AoJSNz9YxhJgGpq31DZj8RvP/xf+l
=yZDX
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org