ldconfig: warning: ../../ is not a ZMAGIC file - skipping -- help!

ldconfig: warning: ../../ is not a ZMAGIC file - skipping -- help!

Post by Davi » Mon, 22 May 1995 04:00:00



I have just attempted to upgrade to the image-4.6.27 and inc-4.6.27
libraries.
I have changed the symbolic links - libc.so.4 and libm.so.4 accordingly.  
When I rebooted, I get a message from ldconfig..

ldconfig: warning: /usr/lib/libd.so.1.85.1 is not a ZMAGIC file - skipping
ldconfig: warning: /lib/libc.so.4.6.27 is not a ZMAGIC file - skipping
ldconfig: warning: /lib/libm.so.4.6.27 is not a ZMAGIC file - skipping
ldconfig: warning: /lib/libcursors.so.0.1.2 is not a ZMAGIC file - skipping
ldconfig: warning: /lib/libc-lite.so.4.6.27 is not a ZMAGIC file - skipping

Can anybody tell me what I have missed??
I could not find any release file to indicate the steps to install the new
libraries.

--
__________________________
David Jackson
Holmes Chapel, Cheshire
__________________________

 
 
 

ldconfig: warning: ../../ is not a ZMAGIC file - skipping -- help!

Post by Joe Ma » Wed, 31 May 1995 04:00:00



>I have just attempted to upgrade to the image-4.6.27 and inc-4.6.27
>libraries.
>I have changed the symbolic links - libc.so.4 and libm.so.4 accordingly.  
>When I rebooted, I get a message from ldconfig..

>ldconfig: warning: /usr/lib/libd.so.1.85.1 is not a ZMAGIC file - skipping
>ldconfig: warning: /lib/libc.so.4.6.27 is not a ZMAGIC file - skipping
>ldconfig: warning: /lib/libm.so.4.6.27 is not a ZMAGIC file - skipping
>ldconfig: warning: /lib/libcursors.so.0.1.2 is not a ZMAGIC file - skipping
>ldconfig: warning: /lib/libc-lite.so.4.6.27 is not a ZMAGIC file - skipping

>Can anybody tell me what I have missed??
>I could not find any release file to indicate the steps to install the new
>libraries.

>--
>__________________________
>David Jackson
>Holmes Chapel, Cheshire
>__________________________

Did the same thing myself this weekend and got the same results and had to
get a friend to straighten me out. A magic number is a number in the first
couple of bytes of a file which tells you whether the file is binary, ascii...
ldconfig is a utility (that you can run from the prompt too) that makes
soft links to the latest libraries so that when libc.so is called, it
is just a link to real file. So go look at a few real files (ls, ar, ...)
that you know are good with

        od -x |less

looking at the first few bytes. You'll

see a pattern in the first 32 or so bytes. Then look at the file
that ldconfig doesn't like. The bytes will be very different. Presumably
what we both got is a binary for a machine that we don't know about.
Don't ask me where it came from, there's no docs there to tell us. Maybe
it's ELF?

        Anyhow, what you have to do is srub those files and relink or
reinstall your old files.

        All the best
        Joe Mack


 
 
 

ldconfig: warning: ../../ is not a ZMAGIC file - skipping -- help!

Post by Alan Shut » Sat, 03 Jun 1995 04:00:00



Joe> ldconfig warning: /usr/lib/libd.so.1.85.1 is not a ZMAGIC file -

Joe> different. Presumably what we both got is a binary for a machine
Joe> that we don't know about.  Don't ask me where it came from,
Joe> there's no docs there to tell us. Maybe it's ELF?

Actually, it's QMAGIC.  ELF libc is at 5.x.x

Joe>         Anyhow, what you have to do is srub those files and relink or
Joe> reinstall your old files.

NONONONO!  You don't have to do that at all.  Just pick up the latest
ld.so package from the GCC directories
(tsx-11.mit.edu:/pub/linux/packages/GCC or somewhere in sunsite) and
install it.  It will recognize QMAGIC perfectly well.

 
 
 

1. ldconfig: warning: /lib/libc.so.4.6.27 is not a ZMAGIC file, skipping

Hi, all!

After putting libc.so.4.6.27 in /lib and running ldconfig, I got
this error message:

ldconfig: warning: /lib/libc.so.4.6.27 is not a ZMAGIC file, skipping

So I got libc.so.4.7.6 and put it in /lib --  ran ldconfig and got:

ldconfig: warning: /lib/libc.so.4.6.27 is not a ZMAGIC file, skipping
ldconfig: warning: /lib/libc.so.4.7.6 is not a ZMAGIC file, skipping

After each of these upgrade attempts libc.so.4 remains a symlink to
my old libc.so.4.5.19.

What's the problem here?

How do I fix it...??  i.e., upgrade to libc.so.5 ??

I'm (still)using Linux 1.2.13  ...

[Yes, yes, I'm planning/hoping to move up to 2.0 any week now.
First, though, I need to get a couple things working/done.]

Ken

-------------------------------------------------------------
Ken Fisler

-------------------------------------------------------------

2. IDE driver for CD-rom under linux

3. ... is not a ZMAGIC file, skipping

4. Arg list too long

5. ldconfig giving not a ZMAGIC Format!

6. HELP Mouse Problems

7. !!! ldconfig says 'not ZIMAGE skipping' !!!

8. Linux Mail Server Question

9. XFree 3.1.2 ... is not a ZMAGIC file - help please

10. ldconfig - ZMAGIC???? (solved)

11. ?! ldconfig: warning: can't unlink /usr/lib/ (Operation not

12. ?? ldconfig:warning can't unlink /usr/X11R6/lib (Operation not permitted)

13. ldconfig: warning: can't unlink /usr/X11R6/lib (Operation not permitted)