Skip to content

Comments

[macOS] Fix missing libavrdude#454

Merged
fauxpark merged 1 commit intoqmk:masterfrom
fauxpark:macos-fix-missing-libavrdude
Mar 6, 2024
Merged

[macOS] Fix missing libavrdude#454
fauxpark merged 1 commit intoqmk:masterfrom
fauxpark:macos-fix-missing-libavrdude

Conversation

@fauxpark
Copy link
Member

Description

Followup to #449 as apparently avrdude now requires its own dylib to work.

install_name_tool -change "@rpath/libavrdude.1.dylib" "@executable_path/../Frameworks/libavrdude.1.0.0.dylib" avrdude

install_name_tool -change "@@HOMEBREW_PREFIX@@/opt/libusb-compat/lib/libusb-0.1.4.dylib" "@executable_path/../Frameworks/libusb-0.1.4.dylib" libavrdude.1.0.0.dylib
install_name_tool -change "@@HOMEBREW_PREFIX@@/opt/libusb/lib/libusb-1.0.0.dylib" "@executable_path/../Frameworks/libusb-1.0.0.dylib" libavrdude.1.0.0.dylib
install_name_tool -change "@@HOMEBREW_PREFIX@@/opt/hidapi/lib/libhidapi.0.dylib" "@executable_path/../Frameworks/libhidapi.0.14.0.dylib" libavrdude.1.0.0.dylib
install_name_tool -change "@@HOMEBREW_PREFIX@@/opt/libftdi/lib/libftdi1.2.dylib" "@executable_path/../Frameworks/libftdi1.2.5.0.dylib" libavrdude.1.0.0.dylib

install_name_tool -id "@executable_path/../Frameworks/libavrdude.1.0.0.dylib" libavrdude.1.0.0.dylib

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Documentation

Issues Fixed or Closed by This PR

@fauxpark fauxpark requested a review from a team February 27, 2024 10:12
@zvecr zvecr linked an issue Feb 29, 2024 that may be closed by this pull request
@fauxpark fauxpark merged commit c25f094 into qmk:master Mar 6, 2024
@fauxpark fauxpark deleted the macos-fix-missing-libavrdude branch March 6, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Library not loaded: @rpath/libavrdude.1.dylib

3 participants