# Created AppImage on Mint, does not run on newer non-Debian distros - \[Solved\]

**URL:** <https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115>\
**Category:** Creating AppImages\
**Created:** [March 18, 2019, 9:39am UTC](https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115 "2019-03-18T09:39:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hn-88](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/hn-88/32/225_2.png) [@hn-88](https://discourse.appimage.org/u/hn-88)\
**Post date:** [March 18, 2019, 9:39am UTC](https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115/1 "2019-03-18T09:39:59Z")

</div>

Hi, I created an AppImage from my code at

> **[hn-88/FDOCT](https://github.com/hn-88/FDOCT)**
>
> Code for doing realtime FD-OCT. Contribute to hn-88/FDOCT development by creating an account on GitHub.

  
creating BscanFFTwebcam.AppImage using a manual process of creating an AppDir.

The AppImage was created on Linux Mint 18.1, running glibc 2.23

As listed in the docs, I removed the glibc associated libraries from the dependencies. If required, I can list out all the 150 or so libs which were included, as was listed by ldd

I tested the AppImage by booting a laptop into various distros using a live bootable usb.  
The created AppImage runs OK on Ubuntu 16.04, and also runs OK on Fedora 24. But it does not run on Fedora 27 or 29, OpenSuse 42.2 or OpenSuse Leap 15.0. These have glibc versions newer than the 2.23 on my Mint machine which was used to create the AppImage. Error messages were quite similar to the ones below:

OpenSuse 13.2 error is

BscanFFTwebcam.bin: relocation error:  
/tmp/.mount\_BscanFl6zEAz/usr/lib/libpthread.so.0: symbol \_\_libc\_vfork,  
version GLIBC\_PRIVATE not defined in file libc.so.6 with link time  
reference

Fedora 27 error is

BscanFFTwebcam.bin: relocation error:  
/tmp/.mount\_BscanFOK8VdL/usr/lib/libpthread.so.0: symbol  
\_\_libc\_dl\_error\_tsd, version GLIBC\_PRIVATE not defined in file  
libc.so.6 with link time reference

and so on.

Is there something I can do to make the AppImage work with newer distros?

Please let me know if more information is needed.

---

<div class="post-metadata">

**Author:** ![hn-88](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/hn-88/32/225_2.png) [@hn-88](https://discourse.appimage.org/u/hn-88)\
**Post date:** [March 19, 2019, 5:22am UTC](https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115/2 "2019-03-19T05:22:38Z")

</div>

I noticed that I had not removed all the libs from

> <https://github.com/AppImage/pkg2appimage/blob/master/excludelist>

  
from my AppDir/usr/lib  
I now did a diff of ls of my lib directory and the excludelist, and removed more libs, like  
libusb-1.0.so.0  
libz.so.1  
etc.

So, now all the libs in the excludelist are excluded. But still, the AppImage does not run on OpenSuse Leap 15.0 (did not test the other distros, since this one gave a similar error) -

./Bscan\*mage  
BscanFFTwebcam.bin: relocation error:  
/tmp/.mount\_BscanF6j1Sp3/usr/lib/libpthread.so.0: symbol  
\_\_libc\_dl\_error\_tsd, version GLIBC\_PRIVATE not defined in file  
libc.so.6 with link time reference

There are similar errors reported by other users, like

> <https://github.com/probonopd/linuxdeployqt/issues/333>

There, probonopd recommended using Ubuntu 14.04 with Qt5.8+  
Is that advice valid for all AppImage builds? Or is that only for apps using Qt?  
My app uses opencv, and I have bundled the opencv 3.3 libs.

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [March 21, 2019, 8:32pm UTC](https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115/3 "2019-03-21T20:32:24Z")

</div>

> [@hn-88](#):
>
> libpthread.so.0

Please delete all libraries listed on [https://github.com/AppImage/pkg2appimage/blob/master/excludelist](https://github.com/AppImage/pkg2appimage/blob/master/excludelist) from your AppImage and try again.

Tools like [GitHub - probonopd/linuxdeployqt: Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications](https://github.com/probonopd/linuxdeployqt) can automate this for you (also for non-Qt apps).

Example: [GitHub - probonopd/linuxdeployqt: Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications](https://github.com/probonopd/linuxdeployqt#using-linuxdeployqt-with-travis-ci)

---

<div class="post-metadata">

**Author:** ![hn-88](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/hn-88/32/225_2.png) [@hn-88](https://discourse.appimage.org/u/hn-88)\
**Post date:** [March 22, 2019, 3:51am UTC](https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115/4 "2019-03-22T03:51:07Z")

</div>

Hi probono,

Yes, I did delete all the libs listed at [https://github.com/AppImage/pkg2appimage/blob/master/excludelist](https://github.com/AppImage/pkg2appimage/blob/master/excludelist)

After deleting, I again created an AppImage, and the error message from OpenSuse Leap 15.0 was as I mentioned in my previous message,  
relocation error:  
/tmp/.mount\_BscanF6j1Sp3/usr/lib/libpthread.so.0: symbol  
\_\_libc\_dl\_error\_tsd, version GLIBC\_PRIVATE not defined in file  
libc.so.6 with link time reference

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [March 27, 2019, 6:42am UTC](https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115/5 "2019-03-27T06:42:43Z")

</div>

Can you build on Ubuntu trusty, e.g. using Travis CI or GitLab CI?

---

<div class="post-metadata">

**Author:** ![hn-88](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/hn-88/32/225_2.png) [@hn-88](https://discourse.appimage.org/u/hn-88)\
**Post date:** [March 27, 2019, 11:18am UTC](https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115/6 "2019-03-27T11:18:05Z")

</div>

Thanks probono. Will try to do this on a live cd of Ubuntu 14.04. It may take a few days, because I have to learn how to build using Travis CI or GitLab CI.

---

<div class="post-metadata">

**Author:** ![hn-88](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/hn-88/32/225_2.png) [@hn-88](https://discourse.appimage.org/u/hn-88)\
**Post date:** [March 27, 2019, 11:25am UTC](https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115/7 "2019-03-27T11:25:18Z")

</div>

Oops. I see that Travis is a hosted service. So I don’t even need a live CD of Trusty. Cool. Let me check it out.

---

<div class="post-metadata">

**Author:** ![hn-88](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/hn-88/32/225_2.png) [@hn-88](https://discourse.appimage.org/u/hn-88)\
**Post date:** [April 5, 2019, 8:31am UTC](https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115/8 "2019-04-05T08:31:58Z")

</div>

Thanks to probono’s tip, I have now successfully created an AppImage using **trusty** on Travis CI, using linuxdeployqt instead of manually creating the AppDir, and the resulting AppImage is working fine. Thank you, probono. The travis yml file used for this is available at

> <https://github.com/hn-88/FDOCT/blob/master/.travis.yml>

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [April 21, 2019, 9:07am UTC](https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115/9 "2019-04-21T09:07:31Z")

</div>

Thanks. Added to [https://appimage.github.io/BscanFFTwebcam/](https://appimage.github.io/BscanFFTwebcam/).
