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

    Solved libertine complains about LD_PRELOAD libtls-padding.so

    Libertine
    8
    15
    1.8k
    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
      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
        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 1
        • dobeyD
          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
            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
              Flohack
              last edited by

              it installed for me via GUI... strange

              My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

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

                @nanu-c apt update ?

                1 Reply Last reply Reply Quote 0
                • Pulsar33P
                  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
                    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
                      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
                        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
                          doniks @bre34
                          last edited by

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

                          1 Reply Last reply Reply Quote 0
                          • B
                            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
                              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
                                arubislander @Mark Muth
                                last edited by

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

                                🇦🇼 🇳🇱 🇺🇸 🇪🇸
                                Happily running Ubuntu Touch
                                BQ Aquaris M10 FHD (16.04 RC)
                                Google Pixel 3a (20.04 DEV)
                                JingPad (20.04 DEV)
                                Meizu Pro 5 (16.04 DEV)
                                PinePhone / PineTab UT CE (20.04 daily)

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  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
                                    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 1
                                    • arubislanderA arubislander marked this topic as a question on
                                    • arubislanderA arubislander has marked this topic as solved on
                                    • First post
                                      Last post