Re: ANN: NetworkManager (0.9.10-rc1) released

On Thu, 2014-06-26 at 17:53 +0200, Vincent Bernat wrote:
 ❦ 26 juin 2014 10:16 -0500, Dan Williams <dcbw redhat com> :

What does 'ldd' on your return?  Mine has: =>  (0x00007fff191fe000) => /lib64/ (0x0000003473400000) => /lib64/ (0x000000345ac00000)
    /lib64/ (0x000000345a800000)

I have a similar output: (0x00007fff2c9fe000) => /lib/x86_64-linux-gnu/ (0x00007f98d71e2000) => /lib/x86_64-linux-gnu/ (0x00007f98d6e39000)
        /lib64/ (0x00007f98d768a000)

so at least the dynamic linker knows that libtinfo (provided by ncurses)
is required here, and should load that in for the configure test

The dynamic linker knows but the linker used to build the executables
may not resolve symbols from one object with the dependencies of another
object. Only symbols of explicitely linked libraries may be used.

GNU linker will try to resolve dependencies recursively but more modern
linkers like the Gold linker doesn't. GNU linker may be told not to do
that with -Wl,--no-add-needed. Reading the documentation, I see that
--no-add-needed is now --no-copy-dt-needed-entries and I am a bit lazy
to understand the explanation. Also read the --as-needed option:

Some distribution enforce those flags.

Yeah, I forgot about gold.  I guess this is why pkgconfig is great,
since then you don't have to do a crapload of guesswork yourself (or in
the m4).  So, I suppose we add the readline m4 thing, but unfortunately
we need to hack it up ourselves, because it doesn't define READLINE_LIBS
even though it did all the work to find them...


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