[Top][All Lists]

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

Re: static linking

From: Marius Vollmer
Subject: Re: static linking
Date: Fri, 13 Feb 2004 00:39:03 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Rob Browning <address@hidden> writes:

> So I don't know what's going on yet, but at least it's reproducable.

I can't reproduce it.  The resulting statically linked a.out cannot
load shared libraries (so that for example libguilereadline doesn't
work), tho.  No segfaults happen, howevers.

    $ ldd a.out
            not a dynamic executable

    $ ./a.out
    ERROR: In procedure dynamic-link:
    ERROR: file: "libguilereadline-v-12", message: 
"/usr/local/lib/libguilereadline-v-12.a: invalid ELF header"

    $ ./a.out -q

GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405

reply via email to

[Prev in Thread] Current Thread [Next in Thread]