compiling rsync statically
roland
devzero at web.de
Thu May 4 22:20:24 GMT 2006
hello !
i try to compile rsync statically, so i added -static to the Makefile/CFLAGS
it get:
uidlist.o(.text+0x705): In function `add_gid':
/tmp/rsync-2.6.8/uidlist.c:75: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
util.o(.text+0x16ba): In function `name_to_gid':
/tmp/rsync-2.6.8/util.c:486: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
util.o(.text+0x16fa): In function `name_to_uid':
/tmp/rsync-2.6.8/util.c:472: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
uidlist.o(.text+0x775): In function `add_uid':
/tmp/rsync-2.6.8/uidlist.c:66: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
socket.o(.text+0x4ba): In function `try_bind_local':
/tmp/rsync-2.6.8/socket.c:145: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
ldd tells "not a dynamic executable"
i`m puzzled - how can rsync need shared library on the "runtime system", if it is static - i mean: is this static now or is it not ?
does somebody know what problems may occur with this ?
there is some statically linked rsync available at http://www.stearns.org/rsync-static/ - so i`m unsure how to get a REAL statically compiled rsync
can anybody help me out ?
TIA
roland k.
systems engineer
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list