# Dynamic linking best practices

DevFeed: [Dynamic linking best practices](<https://devfeed.tech/articles/dynamic-linking-best-practices-21490.md>)

Original publisher: [Read original article](<https://begriffs.com/posts/2021-07-04-shared-libraries.html>)

Published: 2021-07-04T00:00:00Z

Content type: article

Language: en

Sources: [Joe Nelson](<https://devfeed.tech/sources/joe-nelson.md>)

Topics: [Library](<https://devfeed.tech/topics/library.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [design](<https://devfeed.tech/tags/design.md>), [history](<https://devfeed.tech/tags/history.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [library](<https://devfeed.tech/tags/library.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [systems](<https://devfeed.tech/tags/systems.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

A practical guide to building and properly installing shared libraries across Unix-like platforms. It explains the history, goals, mechanics, benefits, trade-offs, and compatibility considerations of dynamic linking.

## Source excerpt

2021-07-04 In this article we'll learn how to build shared libraries and install them properly on several platforms. For guidance, we'll examine the goals and history of dynamic linking on UNIX-based operating systems. Content for the article comes from researching how to create a shared library, wading through sloppy conventions that people recommend online, and testing on multiple Unix-like systems.