Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2022 20:53:12 -0800
From:      Fred Finster <fred@thegalacticzoo.com>
To:        freebsd-arm@freebsd.org
Subject:   versionsort@FSBD_1.7 missing symbol in libinput_drv.so module for ARM64
Message-ID:  <227fa369-af8b-f2ec-33e3-305327464392@thegalacticzoo.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------qIUto3ZAEvrcJk2UgIR1Qxc9
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

FreeBSD 14.0-CURRENT is a changing, constantly modified. Sometimes it 
breaks.  Those who use 14.0-CURRENT, must also be able to fix it.

Yes,  I heard from previous mentions by "Sir Dice" about NOT trusting 
the -CURRENT version to be stable

https://ghostbsd-arm64.blogspot.com/2022/11/libinput-module-error-fbsd17-not-found.html 


My written blogpost with many details about missing symbol 
"versionsort@FBSD_1.7" causing libinput.so to NOT LOAD.

So, this is a reminder note to others, you might find a missing symbol 
"versionsort@FBSD_1.7"  when running programs on the kernel.


  For me, the problem arose when trying to start a DESKTOP ENVIRONMENT 
(DE)  on an recently updated FreeBSD 14.0 Raspberry Pi 4B with 8 GB ram. 
This left me locked out from keyboard and mouse input when the MATE 
desktop and tested with the XFCE4 desktop where run  with "startx" using 
contents of file   ~/.xinitrc [exec mate-session]  or [exec xfce4-session].

With that missing module "libinput_drv.so", no USB keyboard and USB 
mouse inputs to control the desktop.  'Alt-Ctl-F2' to switch desktops, 
does not work either!

The kernel is still running, so logging in with SSH works fine. If you 
have SSH enable before running 'startx' that breaks the keyboard input,  
This allowed me to view a log file "less /var/log/Xorg.0.log"   I share 
these 3 lines below:

[  3730.546] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so

[  3730.553] (EE) Failed to load 
/usr/local/lib/xorg/modules/input/libinput_drv.so: 
/usr/local/lib/libinput.so.10: Undefined symbol "versionsort@FBSD_1.7"

[  3730.553] (EE) Failed to load module "libinput" (loader failed, 0)


Question,  How to get updates happening for other packages that depend 
on this specific file /usr/local/lib/libinput.so.10 ?  I think this file 
has been updated from FBSD_1.6 to FBSD_1.7, but the FreeBSD 14.0-CURRENT 
kernel needs to also be updated to provide that dynamic link to 
versionsort@FBSD_1.7

Well back to testing. Do you have suggestions for using "ldd" command to 
find which software module provides that dynamic link resource? Do you 
have other suggestions and methods to repair my little problem?

Since this is not a release,   I cannot use  "freebsd-update fetch 
install". I use the following 2 lines for updating current software:

pkg update

pkg upgrade

Waiting for some time ( hours or days ),  I think this missing symbol problem will fix itself, when using pkg update, pkg upgrade.
or update the kernel software with git:

su -
cd /usr/src


      One-off, 2021-03-02,  Use this line to update  freebsd code to
      current state

|git -C /usr/src pull --ff-only --unshallow|

time make buildkernel KERNCONF=GENERIC-VCHIQ
time make installkernel KERNCONF=GENERIC-VCHIQ

I also now running to update all my software modules to latest version:
time make buildworld KERNCONF=GENERIC-VCHIQ

-- 
Fred  Finster
fred@thegalacticzoo.com
+1 971-718-9144

--------------qIUto3ZAEvrcJk2UgIR1Qxc9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>FreeBSD 14.0-CURRENT is a changing, constantly modified.  
      Sometimes it breaks.  Those who use 14.0-CURRENT, must also be
      able to fix it.</p>
    <p>Yes,  I heard from previous mentions by "Sir Dice" about NOT
      trusting the -CURRENT version to be stable</p>
    <p><a moz-do-not-send="true"
href="https://ghostbsd-arm64.blogspot.com/2022/11/libinput-module-error-fbsd17-not-found.html"
        class="moz-txt-link-freetext">https://ghostbsd-arm64.blogspot.com/2022/11/libinput-module-error-fbsd17-not-found.html</a> 
      <br>
    </p>
    <p>My written blogpost with many details about missing symbol
      <a class="moz-txt-link-rfc2396E" href="mailto:versionsort@FBSD_1.7">"versionsort@FBSD_1.7"</a> causing libinput.so to NOT LOAD.<br>
    </p>
    <p>So, this is a reminder note to others, you might find a missing
      symbol  <a class="moz-txt-link-rfc2396E" href="mailto:versionsort@FBSD_1.7">"versionsort@FBSD_1.7"</a>  when running programs on the
      kernel.  <br>
    </p>
    <p> <br>
    </p>
    <p> For me, the problem arose when trying to start a DESKTOP
      ENVIRONMENT (DE)  on an recently updated FreeBSD 14.0 Raspberry Pi
      4B with 8 GB ram. This left me locked out from keyboard and mouse
      input when the MATE desktop and tested with the XFCE4 desktop 
      where run  with "startx" using contents of file   ~/.xinitrc 
      [exec mate-session]  or [exec xfce4-session].    <br>
    </p>
    <p>With that missing module "libinput_drv.so", no USB keyboard and
      USB mouse inputs to control the desktop.  'Alt-Ctl-F2' to switch
      desktops, does not work either!</p>
    <p>The kernel is still running, so logging in with SSH works fine. 
      If you have SSH enable before running 'startx' that breaks the
      keyboard input,  This allowed me to view a log file "less
      /var/log/Xorg.0.log"   I share these 3 lines below:      <br>
    </p>
    <p style="color: rgb(117, 117, 117); font-family: Roboto,
      sans-serif; font-size: 15px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial;">[  3730.546] (II)
      Loading /usr/local/lib/xorg/modules/input/libinput_drv.so</p>
    <p style="color: rgb(117, 117, 117); font-family: Roboto,
      sans-serif; font-size: 15px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial;">[  3730.553] (EE) Failed
      to load /usr/local/lib/xorg/modules/input/libinput_drv.so:
      /usr/local/lib/libinput.so.10: Undefined symbol
      <a class="moz-txt-link-rfc2396E" href="mailto:versionsort@FBSD_1.7">"versionsort@FBSD_1.7"</a></p>
    <p style="color: rgb(117, 117, 117); font-family: Roboto,
      sans-serif; font-size: 15px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial;">[  3730.553] (EE) Failed
      to load module "libinput" (loader failed, 0)</p>
    <p style="color: rgb(117, 117, 117); font-family: Roboto,
      sans-serif; font-size: 15px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial;"><br>
    </p>
    <p style="color: rgb(117, 117, 117); font-family: Roboto,
      sans-serif; font-size: 15px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial;">Question,  How to get
      updates happening for other packages that depend on this specific
      file /usr/local/lib/libinput.so.10 ?  I think this file has been
      updated from FBSD_1.6 to FBSD_1.7, but the FreeBSD 14.0-CURRENT
      kernel needs to also be updated to provide that dynamic link to
      <a class="moz-txt-link-abbreviated" href="mailto:versionsort@FBSD_1.7">versionsort@FBSD_1.7</a></p>
    <p style="color: rgb(117, 117, 117); font-family: Roboto,
      sans-serif; font-size: 15px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial;">Well back to testing. 
      Do you have suggestions for using "ldd" command to find which
      software module provides that dynamic link resource? Do you have
      other suggestions and methods to repair my little problem?<br>
    </p>
    <p style="color: rgb(117, 117, 117); font-family: Roboto,
      sans-serif; font-size: 15px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial;"><span style="color:
        rgb(117, 117, 117); font-family: Roboto, sans-serif; font-size:
        15px; font-style: normal; font-variant-ligatures: normal;
        font-variant-caps: normal; font-weight: 400; letter-spacing:
        normal; orphans: 2; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); text-decoration-thickness:
        initial; text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;">Since this is
        not a release,   I cannot use  "freebsd-update fetch install".  
        I use the following 2 lines for updating current software:<br>
      </span></p>
    <p style="color: rgb(117, 117, 117); font-family: Roboto,
      sans-serif; font-size: 15px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial;"><span style="color:
        rgb(117, 117, 117); font-family: Roboto, sans-serif; font-size:
        15px; font-style: normal; font-variant-ligatures: normal;
        font-variant-caps: normal; font-weight: 400; letter-spacing:
        normal; orphans: 2; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); text-decoration-thickness:
        initial; text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;">pkg update</span></p>
    <p style="color: rgb(117, 117, 117); font-family: Roboto,
      sans-serif; font-size: 15px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial;"><span style="color:
        rgb(117, 117, 117); font-family: Roboto, sans-serif; font-size:
        15px; font-style: normal; font-variant-ligatures: normal;
        font-variant-caps: normal; font-weight: 400; letter-spacing:
        normal; orphans: 2; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); text-decoration-thickness:
        initial; text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;">pkg upgrade<br>
      </span></p>
    <p></p>
    <pre class="moz-signature" cols="72">Waiting for some time ( hours or days ),  I think this missing symbol problem will fix itself, when using pkg update, pkg upgrade.
or update the kernel software with git:

su -
cd /usr/src
</pre>
    <h3 dir="auto" style="color: rgb(117, 117, 117); font-size: 16px;
      font-family: Roboto, sans-serif; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      letter-spacing: normal; orphans: 2; text-align: start;
      text-indent: 0px; text-transform: none; white-space: normal;
      widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); text-decoration-thickness:
      initial; text-decoration-style: initial; text-decoration-color:
      initial;">One-off, 2021-03-02,  Use this line to update  freebsd
      code to current state</h3>
    <p dir="auto" style="color: rgb(117, 117, 117); font-family: Roboto,
      sans-serif; font-size: 15px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial;"><code
        style="font-family: monospace, monospace; font-size: 1em;">git
        -C /usr/src pull --ff-only --unshallow</code></p>
    <pre class="moz-signature" cols="72">time make buildkernel KERNCONF=GENERIC-VCHIQ
time make installkernel KERNCONF=GENERIC-VCHIQ

I also now running to update all my software modules to latest version:
time make buildworld KERNCONF=GENERIC-VCHIQ

-- 
Fred  Finster
<a class="moz-txt-link-abbreviated" href="mailto:fred@thegalacticzoo.com">fred@thegalacticzoo.com</a>
+1 971-718-9144</pre>
  </body>
</html>

--------------qIUto3ZAEvrcJk2UgIR1Qxc9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?227fa369-af8b-f2ec-33e3-305327464392>