Is a binary with this libraries portable
- From: llothar <llothar@xxxxxx>
- Date: Wed, 27 Feb 2008 17:43:28 -0800 (PST)
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:
linux-gate.so.1 => (0xffffe000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb7f96000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7eb0000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7ea2000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7e38000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7e0a000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7e02000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7dff000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7df7000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7dd4000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7da7000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0
(0xb7d95000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d8b000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c5c000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7c48000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c44000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7c41000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7c22000)
/lib/ld-linux.so.2 (0xb7fbb000)
For me it looks like all this should be available on recent Linux
versions.
I tried to link statically against libfreetype, fontconfig, Xrender
and Xrandr but this seems not to be so easy and not recommended.
.
- Follow-Ups:
- Re: Is a binary with this libraries portable
- From: John Reiser
- Re: Is a binary with this libraries portable
- Prev by Date: Regarding global variables memory allocation and gtime funtion
- Next by Date: Re: Is a binary with this libraries portable
- Previous by thread: Regarding global variables memory allocation and gtime funtion
- Next by thread: Re: Is a binary with this libraries portable
- Index(es):