Re: Is a binary with this libraries portable
- From: John Reiser <jreiser@xxxxxxxxxxxx>
- Date: Wed, 27 Feb 2008 21:14:55 -0800
My goal is to create a binary that can be deployed as a simple single[snip]
binary file and does not need any LD_LIBRARY_PATH and its own library
folder.
This is the ldd output:
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.
--
.
- Follow-Ups:
- Re: Is a binary with this libraries portable
- From: llothar
- Re: Is a binary with this libraries portable
- References:
- Is a binary with this libraries portable
- From: llothar
- Is a binary with this libraries portable
- Prev by Date: Is a binary with this libraries portable
- Next by Date: Re: Is a binary with this libraries portable
- Previous by thread: Is a binary with this libraries portable
- Next by thread: Re: Is a binary with this libraries portable
- Index(es):
Relevant Pages
|