Amanda-Users

Re: amanda 2.6.1b2 build

2009-01-23 09:46:27
Subject: Re: amanda 2.6.1b2 build
From: Brian Cuttler <brian AT wadsworth DOT org>
To: Chris Hoogendyk <hoogendyk AT bio.umass DOT edu>
Date: Fri, 23 Jan 2009 09:37:47 -0500
Chris,

On Thu, Jan 22, 2009 at 04:15:09PM -0500, Chris Hoogendyk wrote:
> 
> 
> Dustin J. Mitchell wrote:
> >Where is libcrypto.so?  I'm guessing under /opt/sfw/lib.  Note,
> >regarding --with-libraries:
> >
> >  --with-libraries=LIBRARY-DIRS
> >                          deprecated; use ./configure LDFLAGS='-L.. -L..' 
> >                          (add
> >                          -R on Solaris, NetBSD)
> 
> on my Solaris 10 systems it is /usr/sfw/lib/libcrypto.so -> 
> ./libcrypto.so.0.9.7

Yes, on ly system also

> ls -l /usr/sfw/lib/libcrypto*
lrwxrwxrwx   1 root     root          20 Oct 30 11:27 /usr/sfw/lib/libcrypto.so 
-> ./libcrypto.so.0.9.7
-rwxr-xr-x   1 root     bin      1441420 Oct  3 11:58 
/usr/sfw/lib/libcrypto.so.0.9.7
-rwxr-xr-x   1 root     bin       135144 Mar 21  2008 
/usr/sfw/lib/libcrypto_extra.so.0.9.7

I really thought that defining the path

> printenv LD_LIBRARY_PATH
/usr/sfw/lib:/opt/sfw/lib

would resolve the problem, but it doesn't, in fact with the new
./configure actually leaves me one less library after the # make install
completes, then when I used the depricated switch.

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

BTW, the -R on ldflags caused ./configure to abort after less than
one page of output - I can script and provide details if anyone wants
to know more.

(excerpted from # ldd /usr/local/sbin/amcheck)

       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)
        libamanda-2.4.5.so =>    (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
 
                                                thanks,

                                                Brian


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>