[CIG-LONG] help for installing SNAC

Eunseo Choi echoi at ldeo.columbia.edu
Mon Feb 15 04:37:22 PST 2010


Dear Muriel

It looks like to me that the build system got confused about shared 
library dependencies.
In particular, the StGermain library appears to be referring to a 32 bit 
version of standard C library although it should to a 64 bit one.

Could you please run

ldd /opt/CIG/SNAC-1.1.0/build/lib/libStGermainBaseIO.so

and send me the output? Or just check if it says libc.so.* is in the 
directory 64 bit libraries.


Eunseo



gerbault at lmtg.obs-mip.fr wrote:
> Hello,
>
> trying to install Snac on Linux, Opensuse 11.1.
>
> I got the configure built okay
> after installing several mpi packages
> mpich on /opt is what i setup my .bashrc paths with,
> (but in case its useful, i also have now openmpi,mvapich2 in /usr/lib64/mpi/gcc).
>
>
> "make" stops displaying the following final lines :
>
> /usr/bin/cc -pipe  -DVERSION=\"0\" -Wall -g 
> -DCURR_MODULE_NAME=\"libStGermainBaseIO\"  -o
> /opt/CIG/SNAC-1.1.0/build/tests/testDictionary
> /opt/CIG/SNAC-1.1.0/build/tmp/test-libStGermainBaseIO/BTreeWrappers.o
> /opt/CIG/SNAC-1.1.0/build/tmp/test-libStGermainBaseIO/PtrMapWrappers.o
> -I/opt/CIG/SNAC-1.1.0/build/include  
> -I/opt/CIG/SNAC-1.1.0/build/include/StGermain   -I/opt/mpich/include  
> -I/usr/include/libxml2      testDictionary.c   -L/opt/CIG/SNAC-1.1.0/build/lib
>   -L/opt/CIG/SNAC-1.1.0/build/lib -lStGermainBaseIO -lStGermainBaseFoundation
> -Xlinker -rpath -Xlinker /opt/CIG/SNAC-1.1.0/build/lib 
> -L/opt/mpich/ch-p4/lib64 -lmpich -lpmpich    -lxml2 -lz -lm   -lm   -Xlinker
> -rpath -Xlinker /opt/mpich/ch-p4/lib64
> /opt/CIG/SNAC-1.1.0/build/lib/libStGermainBaseIO.so: undefined reference to
> `aio_suspend64'
> /opt/CIG/SNAC-1.1.0/build/lib/libStGermainBaseIO.so: undefined reference to
> `aio_return64'
> /opt/CIG/SNAC-1.1.0/build/lib/libStGermainBaseIO.so: undefined reference to
> `aio_read64'
> /opt/CIG/SNAC-1.1.0/build/lib/libStGermainBaseIO.so: undefined reference to
> `aio_error64'
> /opt/CIG/SNAC-1.1.0/build/lib/libStGermainBaseIO.so: undefined reference to
> `aio_write64'
> collect2: ld returned 1 exit status
> make[5]: *** [/opt/CIG/SNAC-1.1.0/build/tests/testDictionary] Erreur 1
> rm /opt/CIG/SNAC-1.1.0/build/tmp/test-libStGermainBaseIO/BTreeWrappers.o
> /opt/CIG/SNAC-1.1.0/build/tmp/test-libStGermainBaseIO/PtrMapWrappers.o
>
>
> I do have "aio" and libaio installed, and tried to add includes and library
> paths for these (since i found /usr/include/aio.h). but it doesnt help.
>
> Any ideas to resolve this problem?
> thanks in advance,
>
> Muriel
>
>
>
> _______________________________________________
> CIG-LONG mailing list
> CIG-LONG at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>   


-- 
=====================================
Eunseo Choi
Post-Doctoral Research Scientist

Lamont-Doherty Earth Observatory
303f Oceanography
P.O. Box 1000
61 Rt. 9W
Palisades, NY 10964-8000

http://www.ldeo.columbia.edu/~echoi
Phone: 845-365-8813 Fax: 845-365-8156
=====================================



More information about the CIG-LONG mailing list