[geeks] quick static linking question

Big Endian geeks at sunhelp.org
Thu Oct 11 14:06:06 CDT 2001


>On Thu, 11 Oct 2001, Joshua D Boyd wrote:
>>  that it is statically linked.  Assuming that I have both .so and .a
>>  versions in the lib directories, is adding the -static flag really all
>>  I need?  Is there any way to easily verify that the program was
>>  statically linked short of uninstalling the relevent libraries or
>>  finding a machine without them?
>
>-static, and yes, find a machine without to verify.

or just use ldd <binary>

daniel



More information about the geeks mailing list