Alright. I'm currently going through a bit of fun trying to get a new
version of the Linux amanda client compiled. I need to get it compiled
statically since my clients are running various versions of the Linux
system libraries. I was able to compile a static GNUtar just by setting
the CFLAGS to "-O -pipe -static" before running configure and make.
However, when I run amanda's configure and make with these options set I
still get a dynamic binary like so:
[bandix@scylla amanda-2.4.2p2]% ldd client-src/amandad
libm.so.6 => /lib/i686/libm.so.6 (0x4002b000)
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x4004e000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0x40074000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40078000)
libc.so.6 => /lib/i686/libc.so.6 (0x4008e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
The only substantial difference between GNUtar and amanda's build
processes I can discern is that amanda is using libtool. Any
recommendations on how to get amanda convinced to compile everything
statically?
Brandon D. Valentine
--
"Iam mens praetrepidans avet vagari."
- G. Valerius Catullus, Carmina, XLVI