# Installing hdfview

**URL:** <https://forum.hdfgroup.org/t/installing-hdfview/987>\
**Category:** HDFView / Java HDF Object Package\
**Created:** [April 17, 2008, 11:52am UTC](https://forum.hdfgroup.org/t/installing-hdfview/987 "2008-04-17T11:52:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manoj\_Vaghela](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/m/c67d28/32.png) [@Manoj\_Vaghela](https://forum.hdfgroup.org/u/Manoj_Vaghela)\
**Post date:** [April 17, 2008, 11:52am UTC](https://forum.hdfgroup.org/t/installing-hdfview/987/1 "2008-04-17T11:52:46Z")

</div>

Hi All,

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I am a new user to HDF. I tried to install HDFView with source binary  
file, "hdfview\_install\_linux\_vm.bin" on Fedora 7 distribution. Though on  
Fedora Core 2, I could successfully install it, it gave errors on Fedora 7.

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;It gave me following error:

[root@euler]# ./hdfview\_install\_linux\_vm.bin  
Preparing to install...  
Extracting the JRE from the installer archive...  
Unpacking the JRE...  
Extracting the installation resources from the installer archive...  
Configuring the installer for this system's environment...  
awk: error while loading shared libraries: libdl.so.2: cannot open shared  
object file: No such file or directory  
dirname: error while loading shared libraries: libc.so.6: cannot open shared  
object file: No such file or directory  
/bin/ls: error while loading shared libraries: librt.so.1: cannot open  
shared object file: No such file or directory  
basename: error while loading shared libraries: libc.so.6: cannot open  
shared object file: No such file or directory  
dirname: error while loading shared libraries: libc.so.6: cannot open shared  
object file: No such file or directory  
basename: error while loading shared libraries: libc.so.6: cannot open  
shared object file: No such file or directory  
hostname: error while loading shared libraries: libc.so.6: cannot open  
shared object file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared  
object file: No such file or directory  
/tmp/install.dir.31492/Linux/resource/jre/bin/java: error while loading  
shared libraries: libpthread.so.0: cannot open shared object file: No such  
file or directory

Can anyone please tell me what should be done to install hdfview on Fedora 7  
??

Thank you.

> **···**
>
> --  
> Manoj

---

<div class="post-metadata">

**Author:** ![McCloskey\_David\_L](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/m/e19adc/32.png) [@McCloskey\_David\_L](https://forum.hdfgroup.org/u/McCloskey_David_L)\
**Post date:** [April 17, 2008, 1:33pm UTC](https://forum.hdfgroup.org/t/installing-hdfview/987/2 "2008-04-17T13:33:32Z")

</div>

I'm surprised you can type anything at all and it works. Those errors  
say that simple commands like "ls" and "awk" can't find, among others,  
the C libraries which are the base of any Linux system.

Try typing "ldconfig" and then running again.

Dave McCloskey

> **···**
>
> From: Manoj Vaghela [[mailto:manoj.vaghela@gmail.com](mailto:manoj.vaghela@gmail.com)]  
> Sent: Thursday, April 17, 2008 7:53 AM  
> To: [hdf-forum@hdfgroup.org](mailto:hdf-forum@hdfgroup.org)  
> Subject: installing hdfview...
> 
> Hi All,
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I am a new user to HDF. I tried to install HDFView with source  
> binary file, "hdfview\_install\_linux\_vm.bin" on Fedora 7 distribution.  
> Though on Fedora Core 2, I could successfully install it, it gave errors  
> on Fedora 7.
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;It gave me following error:
> 
> [root@euler]# ./hdfview\_install\_linux\_vm.bin  
> Preparing to install...  
> Extracting the JRE from the installer archive...  
> Unpacking the JRE...  
> Extracting the installation resources from the installer archive...  
> Configuring the installer for this system's environment...  
> awk: error while loading shared libraries: libdl.so.2: cannot open  
> shared object file: No such file or directory  
> dirname: error while loading shared libraries: libc.so.6: cannot open  
> shared object file: No such file or directory  
> /bin/ls: error while loading shared libraries: librt.so.1: cannot open  
> shared object file: No such file or directory  
> basename: error while loading shared libraries: libc.so.6: cannot open  
> shared object file: No such file or directory  
> dirname: error while loading shared libraries: libc.so.6: cannot open  
> shared object file: No such file or directory  
> basename: error while loading shared libraries: libc.so.6: cannot open  
> shared object file: No such file or directory  
> hostname: error while loading shared libraries: libc.so.6: cannot open  
> shared object file: No such file or directory
> 
> Launching installer...
> 
> grep: error while loading shared libraries: libc.so.6: cannot open  
> shared object file: No such file or directory  
> /tmp/install.dir.31492/Linux/resource/jre/bin/java: error while loading  
> shared libraries: libpthread.so.0: cannot open shared object file: No  
> such file or directory
> 
> Can anyone please tell me what should be done to install hdfview on  
> Fedora 7 ??
> 
> Thank you.
> 
> --  
> Manoj

---

<div class="post-metadata">

**Author:** ![Hendrik\_van\_Eerten](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/h/838e76/32.png) [@Hendrik\_van\_Eerten](https://forum.hdfgroup.org/u/Hendrik_van_Eerten)\
**Post date:** [April 17, 2008, 2:07pm UTC](https://forum.hdfgroup.org/t/installing-hdfview/987/3 "2008-04-17T14:07:23Z")

</div>

Dear Manoj,

this is from memory so it might not be applicable, but I think the  
solution to your problem is posted on the hdfgroup website, see  
[http://www.hdfgroup.org/HDF5/release/known\_problems5165.html](http://www.hdfgroup.org/HDF5/release/known_problems5165.html)  
under  
"HDFView will not install on Linux 2.6"

basically you have to comment out the instruction

export LD\_ASSUME\_KERNEL=2.2.5

whenever it pops up in a bin file

I suggest using ghex to edit the bin file. It is available from the  
standard repositories

If after solving this you run into a another problem /Assertion  
'c-\>xlib.lock' failed/ then use  
/#export LIBXCB\_ALLOW\_SLOPPY\_LOCK=1

see [http://bugs.sun.com/bugdatabase/view\_bug.do?bug\_id=6532373](http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373) for a more  
detailed description of this java bug

Hendrik van Eerten  
Astronomical Institute 'Anton Pannekoek'  
University of Amsterdam  
/  
Manoj Vaghela wrote:

> Hi All,
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I am a new user to HDF. I tried to install HDFView with source||

binary file, "hdfview\_install\_linux\_vm.bin" on Fedora 7  
distribution. Though on Fedora Core 2, I could successfully  
install it, it gave errors on Fedora 7.

> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;It gave me following error:
> 
> [root@euler]# ./hdfview\_install\_linux\_vm.bin  
> Preparing to install...  
> Extracting the JRE from the installer archive...  
> Unpacking the JRE...  
> Extracting the installation resources from the installer archive...  
> Configuring the installer for this system's environment...  
> awk: error while loading shared libraries: libdl.so.2: cannot open

shared object file: No such file or directory

> dirname: error while loading shared libraries: libc.so.6: cannot open

shared object file: No such file or directory

> /bin/ls: error while loading shared libraries: librt.so.1: cannot open

shared object file: No such file or directory

> basename: error while loading shared libraries: libc.so.6: cannot open

shared object file: No such file or directory

> dirname: error while loading shared libraries: libc.so.6: cannot open

shared object file: No such file or directory

> basename: error while loading shared libraries: libc.so.6: cannot open

shared object file: No such file or directory

> hostname: error while loading shared libraries: libc.so.6: cannot open

shared object file: No such file or directory

> Launching installer...
> 
> grep: error while loading shared libraries: libc.so.6: cannot open

shared object file: No such file or directory

> /tmp/install.dir.31492/Linux/resource/jre/bin/java: error while loading

shared libraries: libpthread.so.0: cannot open shared object file: No  
such file or directory

> Can anyone please tell me what should be done to install hdfview on

Fedora 7 ??

> **···**
>
> > Thank you.
> > 
> > --  
> > Manoj
> 
> ----------------------------------------------------------------------  
> This mailing list is for HDF software users discussion.  
> To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.  
> To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.
