David,

This is weird....Please view libhdf5.settings file in the lib directory; you 
should see the system on which the distribution was built:

           SUMMARY OF THE HDF5 CONFIGURATION
           =================================

General Information:
-------------------
                   HDF5 Version: 1.8.7
                  Configured on: Tue May 10 11:41:44 CDT 2011
                  Configured by: hdftest@koala
                 Configure mode: production
                    Host system: x86_64-unknown-linux-gnu
              Uname information: Linux koala 2.6.18-238.9.1.el5 #1 SMP Tue Apr 
12 18:10:13 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
                       Byte sex: little-endian
                      Libraries:
             Installation point: /mnt/scr1/release-binary/hdf5/v187/builds/koala

Compiling Options:
------------------
               Compilation Mode: production
                     C Compiler: /usr/bin/gcc ( gcc (GCC) 4.1.2 20080704 )
........

May be compiler finds some other libraries? May be LD_LIBRARY_PATH is not 
correct?

Elena

On Aug 8, 2011, at 10:03 AM, McCloskey, David L. wrote:

> On second check, .o files have GNU/Linux; .so files normally have SYSV.  I’m 
> not sure what the problem is then.
>  
> The error form the compiler is just: 
> /users/mcclosdl/temp/hdf5-1.8.7-linux-x86_64-shared/lib/libhdf5.so: file not 
> recognized: File format not recognized
>  
> David McCloskey
> (412) 374-3789
>  
> From: McCloskey, David L. 
> Sent: Monday, August 08, 2011 11:01 AM
> To: [email protected]
> Cc: McDonald, Stuart M.
> Subject: Libraries compiled wrong on site?
>  
> When I download this, 
> http://www.hdfgroup.org/ftp/HDF5/current/bin/linux-x86_64/hdf5-1.8.7-linux-x86_64-shared.tar.gz
>  
> The lib directory contains files that are not recognized by my compiler.  
> Normally objects say (GNU/Linux) when I “file” them; these say “SYSV”.
>  
> $ uname -a
> Linux gemini02 2.6.16.60-0.39.3-smp #1 SMP Mon May 11 11:46:34 UTC 2009 
> x86_64 x86_64 x86_64 GNU/Linux
>  
> $ file *
> libhdf5.a:                  current ar archive
> libhdf5.la:                 ASCII English text
> libhdf5.settings:           ASCII text, with very long lines
> libhdf5.so:                 symbolic link to `libhdf5.so.7.0.1'
> libhdf5.so.7:               symbolic link to `libhdf5.so.7.0.1'
> libhdf5.so.7.0.1:           ELF 64-bit LSB shared object, AMD x86-64, version 
> 1 (SYSV), not stripped
> libhdf5_cpp.a:              current ar archive
> libhdf5_cpp.la:             ASCII English text
> libhdf5_cpp.so:             symbolic link to `libhdf5_cpp.so.7.0.1'
> libhdf5_cpp.so.7:           symbolic link to `libhdf5_cpp.so.7.0.1'
> libhdf5_cpp.so.7.0.1:       ELF 64-bit LSB shared object, AMD x86-64, version 
> 1 (SYSV), not stripped
> libhdf5_fortran.a:          current ar archive
> libhdf5_fortran.la:         ASCII English text
> libhdf5_fortran.so:         symbolic link to `libhdf5_fortran.so.7.0.1'
> libhdf5_fortran.so.7:       symbolic link to `libhdf5_fortran.so.7.0.1'
> libhdf5_fortran.so.7.0.1:   ELF 64-bit LSB shared object, AMD x86-64, version 
> 1 (SYSV), not stripped
> libhdf5_hl.a:               current ar archive
> libhdf5_hl.la:              ASCII English text
> libhdf5_hl.so:              symbolic link to `libhdf5_hl.so.7.0.1'
> libhdf5_hl.so.7:            symbolic link to `libhdf5_hl.so.7.0.1'
> libhdf5_hl.so.7.0.1:        ELF 64-bit LSB shared object, AMD x86-64, version 
> 1 (SYSV), not stripped
> libhdf5_hl_cpp.a:           current ar archive
> libhdf5_hl_cpp.la:          ASCII English text, with very long lines
> libhdf5_hl_cpp.so:          symbolic link to `libhdf5_hl_cpp.so.7.0.1'
> libhdf5_hl_cpp.so.7:        symbolic link to `libhdf5_hl_cpp.so.7.0.1'
> libhdf5_hl_cpp.so.7.0.1:    ELF 64-bit LSB shared object, AMD x86-64, version 
> 1 (SYSV), not stripped
> libhdf5hl_fortran.a:        current ar archive
> libhdf5hl_fortran.la:       ASCII English text, with very long lines
> libhdf5hl_fortran.so:       symbolic link to `libhdf5hl_fortran.so.7.0.1'
> libhdf5hl_fortran.so.7:     symbolic link to `libhdf5hl_fortran.so.7.0.1'
> libhdf5hl_fortran.so.7.0.1: ELF 64-bit LSB shared object, AMD x86-64, version 
> 1 (SYSV), not stripped
> libsz.so:                   symbolic link to `libsz.so.2.0.0'
> libsz.so.2:                 symbolic link to `libsz.so.2.0.0'
> libsz.so.2.0.0:             ELF 64-bit LSB shared object, AMD x86-64, version 
> 1 (SYSV), not stripped
> libz.so:                    symbolic link to `libz.so.1.2.5'
> libz.so.1:                  symbolic link to `libz.so.1.2.5'
> libz.so.1.2.5:              ELF 64-bit LSB shared object, AMD x86-64, version 
> 1 (SYSV), not stripped
>  
> David McCloskey
> Lead Programmer Analyst
> Software Development
> Core Engineering
> Nuclear Fuel
>  
> Westinghouse Electric Company
> Cranberry Headquarters, Building 4
> 1000 Westinghouse Drive
> Suite 451
> Cranberry, PA, 16066, USA
> Phone:  +1 (412) 374-3789
> Fax:  +1 (724) 720-0853
> Email:  [email protected]
> Home Page:  www.westinghousenuclear.com
>  
>  
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to