# Dynamic Library Loading Error

**URL:** <https://ziggit.dev/t/dynamic-library-loading-error/14742>\
**Category:** Help\
**Tags:** standard-library\
**Created:** [March 28, 2026, 3:24pm UTC](https://ziggit.dev/t/dynamic-library-loading-error/14742 "2026-03-28T15:24:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![TibboddiT](https://ziggit.dev/user_avatar/ziggit.dev/tibboddit/32/4339_2.png) [@TibboddiT](https://ziggit.dev/u/TibboddiT)\
**Post date:** [March 28, 2026, 9:31pm UTC](https://ziggit.dev/t/dynamic-library-loading-error/14742/3 "2026-03-28T21:31:53Z")

</div>

If you do not want to link libc, but you still want a portable static executable and the ability to load dynamic libraries, you can _try_ [https://github.com/TibboddiT/dyn-loader](https://github.com/TibboddiT/dyn-loader).

There is a [simple example that loads Vulkan](https://github.com/TibboddiT/dyn-loader/blob/main/examples/vulkan_version.zig) in the repo. There is also [a more involved example that draws a triangle using Vulkan](https://github.com/TibboddiT/dyn-loader/blob/main/examples/vulkan_advanced/x11_vulkan_triangle.zig).

If you try it and it does not work, please let me know 🙂

---

_[View the full topic](https://ziggit.dev/t/dynamic-library-loading-error/14742)._
