installation problem:checking for H5open in -lhdf5... no

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
kestutis

installation problem:checking for H5open in -lhdf5... no

Post by kestutis »

Hello,
I saw some code_saturne tutorials and i want to try it, but unfortunately i have error during version 2.2 installation script

installation script:

Code: Select all

   config_opts: --with-med_int=int --with-hdf5=/home/home/opt/hdf5-1.8.9

   o Configure...
Error during configure stage of MED.
See install_saturne.log for more information.
log file:

Code: Select all

///home/home/opt/hdf5-1.8.9/include/H5public.h
checking HDF version is ok... yes
yes
checking for H5open in -lhdf5... no
configure: error: either use HDF5HOME env. var. or --with-hdf5=<path>
how to fix it?

Thanks,
Kestutis
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: installation problem:checking for H5open in -lhdf5... no

Post by Yvan Fournier »

Hello,

Could you provide more details, as recommended in the Forum guidelines ? Installation issues are often due to some subtle system or tool version differences, so we don't have enough information to help you yet.

Regards,

Yvan
kestutis

Re: installation problem:checking for H5open in -lhdf5... no

Post by kestutis »

Ok, sorry
Code_saturne v2.2
LUbuntu 12.10, x86 architecture
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)

I attached console errors.txt and install_saturne.log
Attachments
console errors.txt
(1.71 KiB) Downloaded 417 times
install_saturne.log
(1.89 MiB) Downloaded 409 times
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: installation problem:checking for H5open in -lhdf5... no

Post by Yvan Fournier »

Hello,

There is probably also a "config.log" file in the MED build directory (/home/home/saturne22/installer/med_build*) or the like, which may contain more info (I do not otherwise see why this fails).

Could you also run :
ls /home/home/opt/hdf5-1.8.9/lib
In any case, I would recommend following the advice of the installation manual: only use the installer for libraries not already available using packages: on Ubuntu 12.10, you have packages for HDF5 and MED, so you may use them instead of re-building everything (I would make an exceptin for CGNS, as I have had issues with the pre-built CGNS from Ubuntu, and have not had the time to explore further).

Regards,

Yvan
Post Reply