This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
static_link_warning
- From: StanisÅaw Findeisen<stf at eisenbits dot homelinux dot net>
- To: libc-help at sourceware dot org
- Date: Thu, 19 Aug 2010 09:04:16 +0200
- Subject: static_link_warning
- Openpgp: id=3B31FE8A;url=http://eisenbits.homelinux.net/~stf/key-stf.txt
Sometimes when you statically link programs with GNU C Library you get
warnings like this:
> warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Could anyone please explain to me what it means and why is it so?
STF
http://eisenbits.homelinux.net/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA D63F DBF5 8AA8 3B31 FE8A