On 5/9/2014 01:51, J Sisson wrote:
> On Thu, May 8, 2014 at 9:03 PM, staticsafe <[email protected]> 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
> 
> 
My bad, somehow missed the "static" part.

This why I shouldn't reply to messages late at night. :)

-- 
staticsafe
https://asininetech.com

Reply via email to