On Thu, May 08, 2014 at 11:53:19PM -0600, Theo de Raadt wrote: > > On Thu, May 8, 2014 at 9:03 PM, staticsafe <m...@staticsafe.ca> wrote: > > > man ldd > > > http://www.openbsd.org/cgi-bin/man.cgi?query=ldd&sektion=1 > > > > ldd won't help with statically linked binaries. > > > > # gcc -o dynamic_test test.c > > # ldd dynamic_test > > dynamic_test: > > Start End Type Open Ref GrpRef Name > > 00008000 00021000 exe 1 0 0 dynamic_test > > 40ebe000 40fad000 rlib 0 1 0 /usr/lib/libc.so.73.1 > > 42a7d000 42a7d000 rtld 0 1 0 /usr/libexec/ld.so > > > > # gcc -o static_test --static test.c > > # ldd static_test > > ldd: static_test: not a dynamic executable > > The release contains only one static binary which uses the library. > That is the ftp client. It is listed in the advisory.
What is the purpose static linking ftp(1) ?