# Dynamic Plugins require application to link to shared library

**URL:** <https://forum.hdfgroup.org/t/dynamic-plugins-require-application-to-link-to-shared-library/8972>\
**Category:** HDF5 Library\
**Created:** [September 19, 2021, 9:56pm UTC](https://forum.hdfgroup.org/t/dynamic-plugins-require-application-to-link-to-shared-library/8972 "2021-09-19T21:56:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![planetmarshalluk](https://forum.hdfgroup.org/user_avatar/forum.hdfgroup.org/planetmarshalluk/32/1761_2.png) [@planetmarshalluk](https://forum.hdfgroup.org/u/planetmarshalluk)\
**Post date:** [September 19, 2021, 9:56pm UTC](https://forum.hdfgroup.org/t/dynamic-plugins-require-application-to-link-to-shared-library/8972/1 "2021-09-19T21:56:17Z")

</div>

I’ve seen a couple of examples of using `h5repack` to compress data using user defined plugins, however I have been unable to get this to work with any plugin that makes calls to the HDF5 API - and have needed to use `h5repack-shared`. I’m not sure if I’m missing any specific linking steps when building my plugin.

Github issue here - [https://github.com/HDFGroup/hdf5/issues/1009](https://github.com/HDFGroup/hdf5/issues/1009)

Any advice would be appreciated.

Thanks.
