UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    libertine complains about LD_PRELOAD libtls-padding.so

    Scheduled Pinned Locked Moved Solved Libertine
    15 Posts 8 Posters 2.6k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • D Offline
        doniks
        last edited by

        I notice that when I enter a libertine container with libertine-launch I get the following errors

        phablet@deb:~$ libertine-launch -i xenial /bin/bash
        ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
        : Xmir is not running on DISPLAY  !
        ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
        ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
        ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
        ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
        ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
        

        If I clear the variable I don't get the error

        phablet@deb:~$ LD_PRELOAD= libertine-launch -i xenial /bin/bash
        : Xmir is not running on DISPLAY  !
        

        But, I'm unsure, should the variable be cleared? Or should this lib be available inside? I think this is somewhat new, I haven't seen this in the past.

        dobeyD 1 Reply Last reply Reply Quote 0
        • M Offline
          Mark Muth @Mark Muth
          last edited by

          @mark-muth said in libertine complains about LD_PRELOAD libtls-padding.so:

          @arubislander Yes I tried installing it through the libertine settings app and through apt on the command line. It just cannot be found.

          Turns out there is no package one needs to install to get rid of the error. Just unsetting LD_PRELOAD is enough:

          unset LD_PRELOAD
          
          1 Reply Last reply Reply Quote 2
          • dobeyD Offline
            dobey @doniks
            last edited by

            This exists since OTA-16, as Qt 5.12 upgrade exposed some issues with TLS padding in bionic libc vs gnu libc, which we had to work around with an LD_PRELOAD lib. If you install the tls-padding package inside the container (ie, libertine-container-manager install-package -i xenial -p tls-padding), the ld.so messages should go away, I think.

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              nanu-c @dobey
              last edited by

              @dobey said in libertine complains about LD_PRELOAD libtls-padding.so:

              tls-padding

              i have the same problem, but it's not in the repository

              phablet@ubuntu-phablet:~$ libertine-container-manager exec -c bash
              root@ubuntu-phablet:/# apt install tls-padding
              Paketlisten werden gelesen... Fertig
              Abhängigkeitsbaum wird aufgebaut.       
              Statusinformationen werden eingelesen.... Fertig
              E: Paket tls-padding kann nicht gefunden werden.
              root@ubuntu-phablet:/# apt search tls-padding
              Sortierung... Fertig
              Volltextsuche... Fertig
              root@ubuntu-phablet:/#
              
              dobeyD 1 Reply Last reply Reply Quote 0
              • flohackF Offline
                flohack
                last edited by

                it installed for me via GUI... strange

                My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                1 Reply Last reply Reply Quote 0
                • dobeyD Offline
                  dobey @nanu-c
                  last edited by

                  @nanu-c apt update ?

                  1 Reply Last reply Reply Quote 0
                  • Pulsar33P Offline
                    Pulsar33
                    last edited by

                    OTA-19 : install libtls-padding0 via the Preferences/Libertine GUI works well
                    BR
                    Pulsar33

                    Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                    Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                    Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                    B 1 Reply Last reply Reply Quote 3
                    • B Offline
                      bre34 @Pulsar33
                      last edited by

                      @pulsar33 When I installed "libtls-padding0" via the UT Libertine GUI, it then disappeared and was no longer listed. I tried it again and it disappeared again. Is this normal?

                      Pulsar33P 1 Reply Last reply Reply Quote 0
                      • Pulsar33P Offline
                        Pulsar33 @bre34
                        last edited by

                        @bre34 I don't think it's normal. Mine is still listed :

                        libtls-padding0.png

                        Have you the error LD_PRELOAD ?

                        BR
                        Pulsar33

                        Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                        Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                        Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          bre34
                          last edited by

                          I did have that error. After the third attempt of trying to install "libtls-padding.so", that error went away. Thanks for the reply.

                          D 1 Reply Last reply Reply Quote 0
                          • D Offline
                            doniks @bre34
                            last edited by

                            @bre34 any clue what was different between those three attempts?

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              bre34
                              last edited by

                              I did the install the same way through the Libertine GUI. I didn't do anything different in any attempt. It was strange and I was even surprised it worked the third time. It did solve that error. Thanks for the reply.

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                Mark Muth
                                last edited by

                                Hi, seems there is no libtls-padding0 package anymore. I just set up a new libertine container, because the old one messed up some Qt dependencies... What can I do to get rid of these error messages?

                                arubislanderA 1 Reply Last reply Reply Quote 0
                                • arubislanderA Offline
                                  arubislander @Mark Muth
                                  last edited by

                                  @mark-muth Did you try installing the package in the libertine container?

                                  🇦🇼 🇳🇱 🇺🇸 🇪🇸
                                  Happily running Ubuntu Touch
                                  Google Pixel 3a (20.04 DEV)
                                  JingPad (24.04 preview)
                                  Meizu Pro 5 (16.04 DEV)

                                  M 1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    Mark Muth @arubislander
                                    last edited by

                                    @arubislander Yes I tried installing it through the libertine settings app and through apt on the command line. It just cannot be found.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      Mark Muth @Mark Muth
                                      last edited by

                                      @mark-muth said in libertine complains about LD_PRELOAD libtls-padding.so:

                                      @arubislander Yes I tried installing it through the libertine settings app and through apt on the command line. It just cannot be found.

                                      Turns out there is no package one needs to install to get rid of the error. Just unsetting LD_PRELOAD is enough:

                                      unset LD_PRELOAD
                                      
                                      1 Reply Last reply Reply Quote 2
                                      • arubislanderA arubislander marked this topic as a question on
                                      • arubislanderA arubislander has marked this topic as solved on
                                      • First post
                                        Last post