On Mon, Nov 22, 2004 at 08:16:15PM -0800, Kees Cook wrote:
These discuss building the extra libraries as static. I will try to find time to investigate tonight.
I don't see a way to do this right now. I can create an "inkscape.static" target in the Makefile.am, but even with -all-static added, libtool blows up:
/usr/X11R6/lib/libX11.a(GetDflt.o)(.text+0x9a): In function `GetHomeDir': : warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/X11R6/lib/libX11.a(GetDflt.o)(.text+0xea): In function `GetHomeDir': : warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libxml2.a(nanohttp.o)(.text+0x1729): In function `xmlNanoHTTPConnectHost': : warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libxml2.a(nanohttp.o)(.text+0x1834): In function `xmlNanoHTTPConnectHost': : warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/X11R6/lib/libX11.a(x11trans.o)(.text+0x76a): In function `_X11TransSocketINETConnect': : warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
And produces a bad (unfinished?) executable.