Brian Cuttler wrote:
Jean-Louis,

I've installed 64 bit libraries and altered the .configure
accordingly. Ok, the libraries have been included in the
build, I should have but have not dropped the 32-bit libraries.


[curie]: /tmp/am-inst/amanda-3.1.2-64bit > ./configure --with-user=amanda
   --with-group=sys --with-udpportrange=932,948
   --with-tcpportrange=10084,10100 --with-gnutar=/usr/sfw/bin/gtar
   --with-gnuplot=/opt/sfw/bin/gnuplot --without-libiconv-prefix
    --without-libintl-prefix CC=/opt/SUNWspro/bin/cc
     EGREP=/usr/sfw/bin/gegrep
 CFLAGS="-I/usr/sfw/include -I/opt/sfw/include -I/usr/local/include -m64"
 CPPFLAGS="-I/usr/sfw/include -I/opt/sfw/include"
 LDFLAGS="-L/opt/csw/lib/amd64 -L/usr/lib/amd64 -L/usr/sfw/lib -L/opt/sfw/lib
    -R/opt/csw/lib/amd64 -R/usr/sfw/lib -R/opt/sfw/lib -R/usr/lib/amd64"

We see this error several times around libgcrypt.so
We did not see this with the default 32-bit build.

ld: warning: file /opt/csw/lib/64/libgcrypt.so: linked to 
/opt/csw/lib/amd64/libgcrypt.so: attempted multiple inclusion of file
This is not important,

I don't know on which header file IXDR_GET_U_LONG is defined on solaris, you can try to find it and add an include for it.
Or as I said, you can configure with '--without-ndmp'.

Jean-Louis
Please let me know if I can include more detail.

                                                thank you,

                                                Brian

gmake  all-am
gmake[3]: Entering directory `/tmp/am-inst/amanda-3.1.2-64bit/ndmp-src'
/bin/bash ../libtool --tag=CC --mode=link /opt/SUNWspro/bin/cc -DNDMOS_CONST_NDMJOBLIB_REVISION='"amanda-3.1.2"' -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/include -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -L/opt/csw/lib/amd64 -L/usr/lib/amd64 -L/usr/sfw/lib -L/opt/sfw/lib -R/opt/csw/lib/amd64 -R/usr/sfw/lib -R/opt/sfw/lib -R/usr/lib/amd64 -o amndmjob amndmjob_main.o ndmjob_args.o ndmjob_job.o ndmjob_rules.o ndmjob_main_util.o amndma_tape_simulator.o libndmjob.la ../common-src/libamanda.la -lm -mt -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lsocket -lnsl -lresolv -lintl -lcrypto -L/opt/sfw/lib -lcurl -L/usr/sfw/lib -lssl -lcrypto -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -ldl -lz libtool: link: /opt/SUNWspro/bin/cc -DNDMOS_CONST_NDMJOBLIB_REVISION=\"amanda-3.1.2\" -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/include -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o .libs/amndmjob amndmjob_main.o ndmjob_args.o ndmjob_job.o ndmjob_rules.o ndmjob_main_util.o amndma_tape_simulator.o -mt -L/opt/csw/lib/amd64 -L/usr/lib/amd64 -L/usr/sfw/lib -L/opt/sfw/lib ./.libs/libndmjob.so -L/opt/csw/lib/64 -L/usr/openwin/lib/64 -L/opt/csw/lib/bdb47 -L/opt/csw/lib -Lopt/csw/postgresql83/lib/amd64 /tmp/am-inst/amanda-3.1.2-64bit/ndmp-src/.libs/libndmlib.so ../common-src/.libs/libamanda.so -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 /opt/csw/lib/64/libcurl.so /opt/csw/lib/amd64/libidn.so /opt/csw/lib/amd64/libssh2.so /opt/csw/lib/amd64/libgcrypt.so /opt/csw/lib/64/libgcrypt.so /opt/csw/lib/amd64/libgpg-error.so /opt/csw/lib/amd64/libldap.so /opt/csw/lib/amd64/liblber.so -lgen /opt/csw/lib/amd64/libsasl2.so -lsunmath -lm -lpthread /opt/csw/lib/amd64/libi!
ntl.so -lsec /opt/csw/lib/amd64/libiconv.so -lc -lgssapi_krb5 -lkrb5 -lk5crypto 
-lcom_err -lresolv -lssl -lcrypto -lsocket -lnsl -ldl -lz -mt 
-R/usr/local/lib/amanda -R/opt/csw/lib -R/opt/csw/lib/64 -R/opt/csw/lib/amd64 
-R/usr/sfw/lib -R/opt/sfw/lib -R/usr/lib/amd64
ld: warning: file /opt/csw/lib/64/libgcrypt.so: linked to 
/opt/csw/lib/amd64/libgcrypt.so: attempted multiple inclusion of file
Undefined                       first referenced
 symbol                             in file
IXDR_GET_U_LONG                     
/tmp/am-inst/amanda-3.1.2-64bit/ndmp-src/.libs/libndmlib.so
IXDR_PUT_U_LONG                     
/tmp/am-inst/amanda-3.1.2-64bit/ndmp-src/.libs/libndmlib.so
ld: fatal: Symbol referencing errors. No output written to .libs/amndmjob




On Wed, Jan 12, 2011 at 03:16:37PM -0500, Jean-Louis Martineau wrote:
IXDR_GET_U_LONG is defined in /usr/linclude/rpc/xdr.h (on linux)
This file is included from /usr/linclude/rpc/rpc.h which is included in ndmp-src/ndmp?.h

I don't know what's wrong with the solaris include.

Reconfigure with '--without-ndmp' to disable the compilation of the ndmp-src directory.

Jean-Louis

Brian Cuttler wrote:
Jean-Louis,

Installation on the target didn't complete smoothly, received
the following errors.

I can send the complete log...

attaching full # gmake install output.

[finsen]: /tmp/am-inst/amanda-3.1.2-64bit > gmake install > /tmp/gmake-install.errors
libtool: install: warning: relinking `libamar.la'
libtool: install: warning: relinking `libamandad.la'
libtool: install: warning: relinking `libamxfer.la'
Undefined                       first referenced
symbol                             in file
IXDR_GET_U_LONG /tmp/am-inst/amanda-3.1.2-64bit/ndmp-src/.libs/libndmlib.so IXDR_PUT_U_LONG /tmp/am-inst/amanda-3.1.2-64bit/ndmp-src/.libs/libndmlib.so
ld: fatal: Symbol referencing errors. No output written to .libs/amndmjob
gmake[3]: *** [amndmjob] Error 1
gmake[2]: *** [install] Error 2
gmake[1]: *** [install-recursive] Error 1
gmake: *** [install] Error 2



This is what the server things of the new client.

I'm not sure on where to go from here and will need
assistance in order to try to fix the problem.


amcheck -c curie finsen
Amanda Backup Client Hosts Check
--------------------------------
ERROR: finsen: service noop: ld.so.1: noop: fatal: /usr/local/lib/amanda/libamandad-3.1.2.so: wrong ELF class: ELFCLASS64 ERROR: finsen: service /usr/local/libexec/amanda/noop failed: pid 17663 exited with signal 9
Client check: 1 host checked in 0.442 seconds.  2 problems found.

(brought to you by Amanda 3.1.2)


                                                thank you,

                                                Brian
---
  Brian R Cuttler                 [email protected]
  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.


---
   Brian R Cuttler                 [email protected]
   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.





Reply via email to