weixin_39775976
weixin_39775976
2020-11-21 17:27

lftp AppImage fails on Ubuntu 14.04

lftp AppImage fails on Ubuntu 14.04 due to it being compiled against a "too new" glibc and libstdc++:

Please compile the ingredients for the AppImage on a stock Ubuntu 14.04 or earlier, in order to increase compatibility with older distributions.

Also, you may want to consider not bundling libutil.so.1 as it should be available on most target systems.

Reference: https://travis-ci.org/AppImage/appimage.github.io/builds/279629043#L692

该提问来源于开源项目:lavv17/lftp

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

10条回答

  • weixin_39568233 weixin_39568233 5月前

    I don't use Ubuntu, I'm just using your tool for building appimage. Consider updating it appropriately.

    On пн, 25 сент. 2017, 21:26 probonopd wrote:

    lftp AppImage fails on Ubuntu 14.04 due to it being compiled against a "too new" glibc and libstdc++:

    https://raw.githubusercontent.com/AppImage/appimage.github.io/20397ba5da3f242b6b08c711da1a0a27fb06abfb/database/lftp/screenshot.png

    Please compile the ingredients for the AppImage on a stock Ubuntu 14.04 or earlier, in order to increase compatibility with older distributions.

    Also, you may want to consider not bundling libutil.so.1 as it should be available on most target systems.

    Reference: https://travis-ci.org/AppImage/appimage.github.io/builds/279629043#L692

    — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lavv17/lftp/issues/396, or mute the thread https://github.com/notifications/unsubscribe-auth/AA67XFTRmbproiq5yUJ3pAGCFCb1Inp4ks5sl_BZgaJpZM4PjJW- .

    点赞 评论 复制链接分享
  • weixin_39775976 weixin_39775976 5月前

    This is not Ubuntu specific. Building on an older build system should fix this. Thanks for considering.

    点赞 评论 复制链接分享
  • weixin_39563827 weixin_39563827 5月前

    I was able to create a script similar to the one I linked above that builds an AppImage for lftp that works on Ubuntu 16.04.

    lftp AppImage build script

    点赞 评论 复制链接分享
  • weixin_39563827 weixin_39563827 5月前

    I see your latest release does not have an AppImage... couldn't get it to work?

    点赞 评论 复制链接分享
  • weixin_39568233 weixin_39568233 5月前

    I don't see any reason releasing appimage if it cannot work everywhere.

    вт, 10 окт. 2017, 1:11 simonizor :

    I see your latest release does not have an AppImage... couldn't get it to work?

    — You are receiving this because you commented.

    Reply to this email directly, view it on GitHub https://github.com/lavv17/lftp/issues/396#issuecomment-335304275, or mute the thread https://github.com/notifications/unsubscribe-auth/AA67XPw-S3SNIg_u9IBWkNc3_Vbv8koAks5sqpn_gaJpZM4PjJW- .

    点赞 评论 复制链接分享
  • weixin_39563827 weixin_39563827 5月前

    It can work everywhere if you package it properly. Did you even check out the build script I linked? Using that script, I was able to build an AppImage that works fine on Ubuntu 16.04.

    点赞 评论 复制链接分享
  • weixin_39775976 weixin_39775976 5月前

    It can work if you compile it on a system that is older than the systems it is supposed to be running on. This has nothing to do with AppImage or the tools.

    点赞 评论 复制链接分享
  • weixin_39568233 weixin_39568233 5月前

    I don't keep old Linux versions handy. Maybe lxc can help here, I'll give it a try. Which distribution do you recommend?

    чт, 12 окт. 2017, 20:03 probonopd :

    It can work if you compile it on a system that is older than the systems it is supposed to be running on. This has nothing to do with AppImage or the tools.

    — You are receiving this because you were mentioned.

    Reply to this email directly, view it on GitHub https://github.com/lavv17/lftp/issues/396#issuecomment-336200615, or mute the thread https://github.com/notifications/unsubscribe-auth/AA67XBW8ID9sfDSgLUvuVgToh7zM4lTqks5srkXzgaJpZM4PjJW- .

    点赞 评论 复制链接分享
  • weixin_39775976 weixin_39775976 5月前

    Debian oldstable or earlier, the oldest still supported Ubuntu LTS (currently trusty), CentOS 6, openSUSE Leap would all be good candidates.

    If you don't want to install them locally, you can use e.g., Ubuntu trusty on Travis CI in the cloud.

    点赞 评论 复制链接分享
  • weixin_39775976 weixin_39775976 5月前

    Would you welcome a pull request that would build and upload lftp AppImages using Travis CI?

    点赞 评论 复制链接分享