Amanda-Users

Re: Amanda 2.6.1 on Solaris x86 - library dependency

2009-08-14 13:54:37
Subject: Re: Amanda 2.6.1 on Solaris x86 - library dependency
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: Brian Cuttler <brian AT wadsworth DOT org>
Date: Fri, 14 Aug 2009 13:45:39 -0400
On Fri, Aug 14, 2009 at 1:22 PM, Brian Cuttler<brian AT wadsworth DOT org> 
wrote:
> They look like the same binary but don't act like the same binary.

This is really best handled by those who are skilled in the ways of
Solaris -- the operating system has lots of weird behaviors with
regard to linking.  What's happening is that amandad is recording a
link to 'libamanda', which ldd is then resolving to the first
libamanda it finds, which happens to be the really old one on cascade.

Two possible solutions:
 - delete the old libraries
 - make sure the linker does not look in the directory containing the
old libraries (/opt/sfw/lib) by removing it from various LD_foo_PATH
variables (some of which are specified at compile time, IIRC).

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com