Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] Fix missing libavrdude #454

Merged
merged 1 commit into from
Mar 6, 2024

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
5 checks passed
@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