Re: Is a binary with this libraries portable



My goal is to create a binary that can be deployed as a simple single
binary file and does not need any LD_LIBRARY_PATH and its own library
folder.

This is the ldd output:
[snip]

For me it looks like all this should be available on recent Linux
versions.

Not everybody runs a recent Linux version. For instance, there are still
many installations of Red Hat Enterprise Linux version 4 [also CentOS4.]
It is only three years old. It still has 3 months of Full Support,
8 months of Deployment Support, and 4 years of Maintenance Support.

The functional capabilities for which libXrandr was designed
are missing from the majority of existing VGA chips/cards and displays.

Many installations lack the libraries libexpat.so.1 and libXau.so.6.

Run "readelf --version-info <executable_program>" to see which GLIBC_* versions
your executables expect. Greater than GLIBC_2.3.2 probably will force you
to distribute libc.so.6 and the other pieces of glibc-2.x.y.

I tried to link statically against libfreetype, fontconfig, Xrender
and Xrandr but this seems not to be so easy and not recommended.

You must distribute "private" libraries, and tell the runtime linker
to use them, if you wish to support at least 75% of existing installations.

--
.



Relevant Pages

  • Re: building the static linking using swig?
    ... Franklin uses two different operating systems. ... A light weight OS based on Linux, ... " Franklin currently does not support shared libraries on the compute ... You want more that static linking since not only is dynamic loading not supported but shared libraries are not supported. ...
    (comp.lang.tcl)
  • Re: Sun On The Run?
    ... > with new Sun's would also save money. ... RedHat and Suse have pretty good enterprise support nowadays. ... Oracle/DB2 support Linux installations. ...
    (comp.os.vms)
  • Re: Significant Pure Assembler Application In MASM ?
    ... When I was thinking of a literal "port" of RosAsm for LuxAsm, I was quite daunted by this!!! ... I was seeing a lot of APIs that, I'm not sure what they do, but I don't think there's a Linux equivalent. ... I was contemplating *avoiding* libraries for LuxAsm, ... If GTK is a "replacement od the Win Api", ...
    (alt.lang.asm)
  • Re: "The Good Enough Revolution" - As it applies to js
    ... VB programs must be re-written because the current libraries don't ... I don't think MS needs to be singled out for poor support of web ... unknown browsers and until its adoption of feature testing, jQuery was ... All that needs to be anticipated is that a browser may not support any ...
    (comp.lang.javascript)
  • Re: User customisable grid
    ... You may follow news on our home page, or go to our support forum: ... We are extending components every month. ... Marko has suggested several libraries to use ...
    (borland.public.delphi.thirdpartytools.general)