Amanda-Users

amanda 2.6.1b2 build

2009-01-22 15:32:38
Subject: amanda 2.6.1b2 build
From: Brian Cuttler <brian AT wadsworth DOT org>
To: amanda-users AT amanda DOT org, Chris Knight <knight AT wadsworth DOT org>, Ivan Auger <ivan AT wadsworth DOT org>
Date: Thu, 22 Jan 2009 14:49:55 -0500
Clearly I'm doing something stupid, but I don't see it.

Trying to build latest because we want to take advantage of
ZFS Snapshots, moving to Solaris ZFS, especially for things
like samba shares.

Downloaded new kit yesterday, expanded under /tmp

# printenv PATH
/usr/local/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/local/bin:/usr/bin:/usr/sbin:/usr/
ccs/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin

# printenv LD_LIBRARY_PATH
/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/lib:/usr/ucblib:/opt/SUNWspro/lib:
/usr/ccs/lib:/usr/5lib

I thought this config command was right, at least it allowed the
# make to run normally. Port restrictions aren't really needed, but
why rebuild just for that for installs around FW or in our DMZ.

$ ./configure --with-user=amanda --with-group=sys 
     --with-udpportrange=932,948 
     --with-tcpportrange=10084,10100 --with-gtar=/usr/local/bin/tar
     --with-libraries=/usr/sfw/lib --with-libraries=/opt/sfw/lib
     --with-libraries=/usr/local/lib/amanda

./server-src/amcheck is a script
./server-src/libs/amcheck is a binary

# ldd of the binary is OK.

After make install, ldd of the binary, moved to /usr/local/bin/amcheck
isn't ok, we can't find the libcrypto.so. I have verified that the PATH
and LD_LIBRARY_PATH have the same values in both my build env and my
execution environment. Bbuilt as root because of the make install,
exected as user amanda.

        libintl.so.8 =>  /usr/local/lib/libintl.so.8
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libsec.so.1 =>   /lib/libsec.so.1
        libc.so.1 =>     /lib/libc.so.1
        libcrypto.so.0.9.7 =>    (file not found)
        libnsl.so.1 =>   /lib/libnsl.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libcrypto.so.0.9.7 =>    (file not found)
        libcrypto.so.0.9.7 =>    (file not found)
        libcrypto.so.0.9.7 =>    (file not found)
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libmd.so.1 =>    /lib/libmd.so.1

Build is on Solaris 10, sparc.
SunOS griffy 5.10 Generic_137111-08 sun4u sparc SUNW,Sun-Fire-V240 Solaris

Once this is working and I move this new server into production I'll
try the same on Solaris x86 (x4500 server) with a jukebox and LTO4 drive.

If any more build info is needed I can send, a script of the build would
be 'large' and I didn't want to start with too much information.

                                                thanks in advance,

                                                Brian
---
   Brian R Cuttler                 brian.cuttler AT wadsworth DOT org
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.



<Prev in Thread] Current Thread [Next in Thread>