• Where does the ELF binary dynamic library name come from?

    From Don@21:1/5 to All on Tue Mar 2 04:10:38 2021
    Greetings,

    These arguments (and others) are used with libtool:

    -I/usr/local/include/guile/2.2 -L/usr/local/lib -lguile-2.2

    yet readelf reveals:

    # readelf -d /usr/local/bin/gschem | grep guile
    0x0000000000000001 NEEDED Shared library: [libguile-2.0.so.22]

    when it ought to point to:

    libguile-2.2.so.1

    Where does the ELF binary dynamic library name come from?


    Further details of the back story are available at:

    http://www.delorie.com/archives/browse.cgi?p=geda-user/2021/02/28/12:35:00 http://www.delorie.com/archives/browse.cgi?p=geda-user/2021/02/28/20:30:43

    Danke,

    --
    Don, KB7RPU, https://www.qsl.net/kb7rpu
    There was a young lady named Bright Whose speed was far faster than light;
    She set out one day In a relative way And returned on the previous night.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nicolas George@21:1/5 to All on Tue Mar 2 07:21:18 2021
    "Don" , dans le message <20210301a@crcomp.net>, a écrit :
    Where does the ELF binary dynamic library name come from?

    $ objdump -p /usr/lib/x86_64-linux-gnu/libX11.so.6 | grep SONAME
    SONAME libX11.so.6

    (I do not have libguile installed.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rainer Weikusat@21:1/5 to Don on Tue Mar 2 18:23:53 2021
    "Don" <g@crcomp.net> writes:
    Greetings,

    These arguments (and others) are used with libtool:

    -I/usr/local/include/guile/2.2 -L/usr/local/lib -lguile-2.2

    yet readelf reveals:

    # readelf -d /usr/local/bin/gschem | grep guile
    0x0000000000000001 NEEDED Shared library: [libguile-2.0.so.22]

    when it ought to point to:

    libguile-2.2.so.1

    Where does the ELF binary dynamic library name come from?

    That's something which can only be guessed at with this level of
    information. A possible scenario could be: Something linking with a
    static version of libguile-2.2 also links with a dynamic libray linked
    with libguile 2.0.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rainer Weikusat@21:1/5 to Rainer Weikusat on Wed Mar 3 15:01:05 2021
    Rainer Weikusat <rweikusat@talktalk.net> writes:
    "Don" <g@crcomp.net> writes:
    Greetings,

    These arguments (and others) are used with libtool:

    -I/usr/local/include/guile/2.2 -L/usr/local/lib -lguile-2.2

    yet readelf reveals:

    # readelf -d /usr/local/bin/gschem | grep guile
    0x0000000000000001 NEEDED Shared library: [libguile-2.0.so.22]

    when it ought to point to:

    libguile-2.2.so.1

    Where does the ELF binary dynamic library name come from?

    That's something which can only be guessed at with this level of
    information. A possible scenario could be: Something linking with a
    static version of libguile-2.2 also links with a dynamic libray linked
    with libguile 2.0.

    Coming to think of it: This can't have happened as the library would
    then be recorded in the dynamic section of the library.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)