#44 Pre-built Linux binaries don't work on older distributions (e.g. Ubuntu 11.10)

Mark K

This isn't a bug in the code as such, more a suggestion to build the Linux binaries with glibc statically-linked.

Currently the Linux binaries require glibc 2.14.

Older distributions like Ubuntu 11.10 have glibc 2.13, so wxHexEditor fails to run, the shell showing a message like
./wxHexEditor: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./wxHexEditor)

It would be great if, possibly in addition to the current Linux binaries, you could arrange to build fully-static binaries. Those should work with any Linux distribution.


  • Death Knight®

    Death Knight® - 2012-11-27

    Static binaries are always a problem for linux doesn't it?

    Do you sure if including glibc file into static build that solve problem? How to do that?

    Indeed same linux binary have problem with new linux versions (like on OpenSuse 12.2) due statically included old libpng version (that supplied with wxWidgets code.) Does it possible to fix this libpng error at static libraries? Here is original error message:

    (wxHexEditor:25182): Gtk-WARNING **: Error loading theme icon 'gtk-cancel' for stock: Fatal error reading PNG image file: Incompatible libpng version in application and library

    Also I cannot install old linux versions for just build statically compiled version. It's better to build by yourself with make command or scan ubuntu packages for prebuild binaries. I tried to compile ubuntu packages at OpenSUSE compile farm also but I could due lack of wx libraries on the farm.

    Another question is, do I needed to spend my time on compilation static binaries or program improvement like new features? I think I really spend my valueable time on packaging the program. Due this libpng error, I am also thinking on remove static build versions of wxHexEditor. Any commands?

  • Death Knight®

    Death Knight® - 2015-03-28
    • status: open --> closed
  • Death Knight®

    Death Knight® - 2015-03-28

    I believe I can close this request.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks