# Newer versions of MacOS require linking against \*.tbd files and not old system paths to \*.dylib

**URL:** https://discourse.cmake.org/t/newer-versions-of-macos-require-linking-against-tbd-files-and-not-old-system-paths-to-dylib/6871
**Category:** Usage
**Tags:** os:macos
**Created:** [November 15, 2022, 8:04am UTC](https://discourse.cmake.org/t/newer-versions-of-macos-require-linking-against-tbd-files-and-not-old-system-paths-to-dylib/6871 "2022-11-15T08:04:27Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [November 15, 2022, 7:55pm UTC](https://discourse.cmake.org/t/newer-versions-of-macos-require-linking-against-tbd-files-and-not-old-system-paths-to-dylib/6871/2 "2022-11-15T19:55:33Z")

</div>

Can you try using `cmake --trace-expand` to see where that `libm.dylib` path is coming from?

---

_[View the full topic](https://discourse.cmake.org/t/newer-versions-of-macos-require-linking-against-tbd-files-and-not-old-system-paths-to-dylib/6871)._
