[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building a static binary

From: Alan Su
Subject: building a static binary
Date: Wed, 10 Mar 2010 13:55:51 -0500

hi bug-parted,

i am trying to build a completely static binary for parted (i've
downloaded the source for v2.2), and i can't seem to achieve that.
i've run ./configure with --disable-shared, but after running make, i
get a binary that is still dynamically linked:

$ file parted/parted
parted/parted: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not
$ ldd parted/parted
        libuuid.so.1 => /lib/libuuid.so.1 (0x00002b5c80d71000)
        libdevmapper.so.1.02 => not found
        libreadline.so.5 => /lib/libreadline.so.5 (0x00002b5c80f75000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b5c811b5000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x00002b5c813ba000)
        libc.so.6 => /lib/libc.so.6 (0x00002b5c815f5000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b5c80b52000)

anyone have any advice on how to do this?  i must be doing something
incredibly brain-dead...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]