The detailed.log shows this

#        DEAL_II_WITH_HDF5 set up with external dependencies
#            HDF5_VERSION = 1.12.2
#            HDF5_DIR = 
/Users/praveen/Applications/spack/opt/spack/darwin-monterey-m1/apple-clang-13.1.6/hdf5-1.12.2-gxrwbuzg3xom562obmqaqtu5forevio5/cmake
#            HDF5_INCLUDE_DIRS = 
/Users/praveen/Applications/spack/opt/spack/darwin-monterey-m1/apple-    
clang-13.1.6/hdf5-1.12.2-gxrwbuzg3xom562obmqaqtu5forevio5/include
#            HDF5_USER_INCLUDE_DIRS = 
/Users/praveen/Applications/spack/opt/spack/darwin-monterey-m1/     
apple-clang-13.1.6/hdf5-1.12.2-gxrwbuzg3xom562obmqaqtu5forevio5/include
#            HDF5_LIBRARIES = hdf5-shared

and last line above seems wrong.

Thanks
praveen

> On 17-Aug-2022, at 11:49 AM, Praveen C <[email protected]> wrote:
> 
> Hello
> 
> I am compiling [email protected] myself using dependent packages installed via 
> spack.
> 
> I am facing the issue reported here
> 
> https://github.com/spack/spack/issues/32023 
> <https://github.com/spack/spack/issues/32023>
> 
> and is fixed here
> 
> https://github.com/spack/spack/pull/32079 
> <https://github.com/spack/spack/pull/32079>
> 
> This fix seems to remove the file
> 
> cmake/macros/macro_find_package.cmake
> I removed it and was able to compile dealii. But when I compile an example, I 
> get this error
> 
> Consolidate compiler generated dependencies of target step-1
> [ 50%] Linking CXX executable step-1
> ld: library not found for -lhdf5-shared
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[2]: *** [step-1] Error 1
> make[1]: *** [CMakeFiles/step-1.dir/all] Error 2
> make: *** [all] Error 2
> 
> Thanks for any help.
> Best
> praveen

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/B665C01B-FF1B-4586-9FEA-D6C0F4CE0E86%40gmx.net.

Reply via email to