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

Greg' Ar Tourter artourter at gmail.com
Sat Oct 29 12:34:09 UTC 2022


As soon as the hdf5 update was released, i tested all my packages that use
it. All built and tested without any issues.

With gdal, i would suggest you rebuild all the dependencies in order. With
gdal, gdal itself compiles against hdf5, but netcdf also compiles against
netcdf. Just like cdo, hdf5 is a direct requirement, as well as an indirect
requirement via netcdf.

Hope that makes sense.

Cheers

Greg

On Sat, 29 Oct 2022, 13:07 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/
>>
>> _______________________________________________
> 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/775db87d/attachment-0001.htm>


More information about the SlackBuilds-users mailing list