Solaris binaries fail on 'libucb.so.1'
2003-04-14 15:35:09
I'm attempting to roll out Amanda on our small network here. So far
things have gone quite smoothly, on a combination of Win32 and Linux
machines.
We have a few Solaris/SPARC machines here which I do not administrate,
but will be responsible for backups. I've asked the administrator to
compile & install the amanda binaries on there, which he has done, and we
have amanda working, to an extent, on these boxes. But we're getting a
library error when amandad attempts to run sendsize or selfcheck.
Following are the relevant portions of the /tmp/amanda/* files:
amandad: CONFIGURE_COMMAND="'./configure' '--with-mmap'
'--with-buffered-dump' '--with-user=amanda' '--with-group=amanda'
'--prefix=/usr/l ocal/amanda' '--exec-prefix=/usr/local/amanda'
'LDFLAGS=-R/usr/ucblib'"
amandad: paths: bindir="/usr/local/amanda/bin"
amandad: sbindir="/usr/local/amanda/sbin"
amandad: libexecdir="/usr/local/amanda/libexec"
amandad: mandir="/usr/local/amanda/man" AMANDA_TMPDIR="/tmp/amanda"
amandad: AMANDA_DBGDIR="/tmp/amanda"
amandad: CONFIG_DIR="/usr/local/amanda/etc/amanda"
amandad: DEV_PREFIX="/dev/dsk/" RDEV_PREFIX="/dev/rdsk/"
amandad: DUMP="/usr/sbin/ufsdump" RESTORE="/usr/sbin/ufsrestore"
amandad: GNUTAR="/usr/local/bin/tar"
amandad: COMPRESS_PATH="/usr/local/bin/gzip"
amandad: UNCOMPRESS_PATH="/usr/local/bin/gzip"
amandad: MAILER="/usr/ucb/Mail"
and:
amandad: time 0.013: amandahosts security check passed
amandad: time 0.013: running service "/usr/local/amanda/libexec/selfcheck"
ld.so.1: /usr/local/amanda/libexec/selfcheck: fatal: libucb.so.1: open failed:
No such file or directory
So, the problem is that selfcheck (happens also with sendsize) can't
load the libucb.so.1 library. As expected, this library is in
/usr/ucblib and amanda was compiled with that library directory
explicitly stated in an LDFLAGS variable. Running ldd on selfcheck
produces no complaints:
libamclient-2.4.4.so => /usr/local/amanda/lib/libamclient-2.4.4.so
libamanda-2.4.4.so => /usr/local/amanda/lib/libamanda-2.4.4.so
libgen.so.1 => /usr/lib/libgen.so.1
libm.so.1 => /usr/lib/libm.so.1
libcurses.so.1 => /usr/lib/libcurses.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libintl.so.2 => /usr/local/lib/libintl.so.2
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
----->libucb.so.1 => /usr/ucblib/libucb.so.1 <-----
libresolv.so.2 => /usr/lib/libresolv.so.2
libelf.so.1 => /usr/lib/libelf.so.1
/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
(emphasis mine)
Any ideas?
--
eric a. Farris http://eafarris.al.umces.edu/
Systems Administrator
UMCES Appalachian Laboratory www.al.umces.edu
|
|
|