[Slackbuilds-users] hdf5 version 1.12.2 -vs- version 1.10.6

Konrad J Hambrick kjhambrick at gmail.com
Sat Oct 29 12:34:45 UTC 2022


marav --

Thanks a zillion !

I also have gdal optional REQUIRE netcdf installed and netcdf also REQUIRES
hdf5.

gdal was failing when it 'hit' netcdf with the unresolved hdf5.so.200 !

Thanks again !

-- kjh

On Sat, Oct 29, 2022 at 7:06 AM Konrad J Hambrick <kjhambrick at gmail.com>
wrote:

> Well, dang.
>
> I've got some research to do.
>
> Thanks marav !
>
> -- kjh
>
> On Sat, Oct 29, 2022 at 6:48 AM marav <marav8 at free.fr> wrote:
>
>> Hi Konrad,
>>
>> gdal builds fine here, with the latest hdf5 1.12.2
>>
>>
>> *# ls -lhC1 /var/lib/pkgtools/packages | grep hdf5
>> hdf5-1.12.2-x86_64-1_SBo*
>>
>> # ...
>> ...
>> *Slackware package /tmp/gdal-3.5.2-x86_64-1_SBo.tgz created.*
>>
>> Without any addition
>>
>> Cheers
>> Le 29/10/2022 à 13:09, Konrad J Hambrick a écrit :
>>
>> Matteo --
>>
>> Several of my SBo's that REQUIRE HDF5 fail to run this morning.
>>
>> I believe it's because HDF5 Version 1.12.2 introduced incompatible API
>> Changes compared to the previous version HDF5 1.10.6
>>
>> See this link( HDF5 Version 1.12.2 API Compatibility Macros ):
>>
>> Migrating from HDF5 1.10 to HDF5 1.12
>> <https://portal.hdfgroup.org/display/HDF5/Migrating+from+HDF5+1.10+to+HDF5+1.12>
>>
>> One Program is gdal which lists hdf5 as an optional REQUIRE.
>>
>> I found an optional 'compatibility' configure option here:
>>
>> https://portal.hdfgroup.org/display/HDF5/API+Compatibility+Macros
>>
>> So I added:
>>
>>     --with-default-api-version=v110
>>
>> And I rebuilt HDF5.
>>
>> I tried rebuilding gdal ( where hdf5 is an optional REQUIRE ) and it
>> failed to compile.
>>
>> I reverted to hdf5 version 1.10.6 and everything works as expected.
>>
>> I am not sure how to proceed because ultimately, proper fixes for all
>> these SBo Packages will require upstream fixes for the new HDF5 API:
>>
>> # hoorex -m hdf5
>> hdf5 h5utils matio FreeFem openimageio med mpb gmsh netcdf GMT ITK OTB
>> meep cdo ncview nco paraview Blender grace
>>
>> Thanks for all your work !
>>
>> -- kjh
>>
>> _______________________________________________
>> SlackBuilds-users mailing listSlackBuilds-users at slackbuilds.orghttps://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>>
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20221029/240bb1ad/attachment.htm>


More information about the SlackBuilds-users mailing list