Thank you all for the information.

One more quick question. Can somebody post the snippet of source code from the 
FTP program which is statically linked with libssl? I don't actually know what 
it looks like and would like to be able to identify it in the future and search 
for them.


Many thanks,


Andrew 






Sent from Windows Mail





From: staticsafe
Sent: ‎Friday‎, ‎May‎ ‎9‎, ‎2014 ‎7‎:‎19‎ ‎AM
To: J Sisson
Cc: OpenBSD Misc





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