Re: Compilation stopped

From: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Wed Nov 06 2002 - 09:14:05 EST

  • Next message: Peter C. Tribble: "Re: Compilation stopped"

    > I don't understand the "statically" what you suggest as an error cause...

    Amusing though your use of quotation marks is, I don't think they serve
    any real purpose...

    statically: libraries come in two forms:

    (a) lib*.so.* are shared libraries and are linked to the application at
        run-time.
    (b) lib*.a are "static" libraries and are linked at compilation time.

    Mandrake often causes trouble for AbiWord because it doesn't install many
    static libraries, e.g. libXi.a is often missing...

    AbiWord, by default, tries to create a dynamic binary *and* a "static"
    binary, and it is the latter which often fails on Mandrake. The linker
    sees -lXi and looks for libXi.a but doesn't find it.

    The -ldl problem, Peter is suggesting, may be similar. The linker sees
    -ldl and goes looking for libdl.a but doesn't find it.

    Why -ldl is there in the first place I have no idea. Perhaps the wrong
    person has a sense of humour.

    The solution to this problem is to persuade AbiWord *not* to build the
    "static" binary, and usually this is accomplished in the diving make build
    system by running:

    # make UNIX_CAN_BUILD_STATIC=0

    If you are using configure first, however, you need to do:

    # ./configure --disable-static
    # make

    but I think that is broken in 1.0.3 and earlier - should be fixed in CVS,
    though.

    Regards, Frank

    Francis James Franklin
    F.J.Franklin@shef.ac.uk

      `Medium atomic weights are available: Gold, Lead, Copper, Jet, Diamond,
    Radium, Sapphire, Silver and Steel.
      `Sapphire and Steel have been assigned...'

    -----------------------------------------------
    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Wed Nov 06 2002 - 09:23:03 EST