Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

brickd 2.4.0 macOS - incompatible library version of libusb

Featured Replies

Geschrieben

Good morning!

 

I updated brick daemon to 2.4.0 on macOS (10.14.5) today.

Brick Viewer works as expected and it shows connected devices.

 

However, when checking the version (brickd --version), it fails with the following error message:

 

dyld: Library not loaded: @executable_path/libusb-1.0.dylib
  Referenced from: /usr/local/libexec/brickd.app/Contents/MacOS/./brickd
  Reason: Incompatible library version: brickd requires version 3.0.0 or later, but libusb-1.0.dylib provides version 2.0.0
Abort trap: 6

 

Temporary solution:

I have libusb installed via homebrew. I can't uninstall it though, as it has dependencies (dfu-util for instance). When temporarily renaming libusb-1.0.dylib (inside /usr/local/Cellar/libusb/1.0.22/lib/), brick daemon does load its own libusb version again.

 

 

Cheers,

Claudio

Geschrieben

That's very strange. For exactly this reason Brick Daemon links to @executable_path/libusb-1.0.dylib. There should be no confusion for the loader which libusb to load.

 

Brick Daemon comes with its own libusb version that includes some brickd specific changes. So there is no point in trying to make this look like a vanilla libusb version anyway.

 

I've changed libusb-1.0.dylib to libusb-1.0-brickd.dylib now. This should fix the problem.

 

Please test the attached brickd version.

brickd_macos_2_4_0_libusb_name.dmg

Geschrieben
  • Autor

Thanks for the fix!

It works for me.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.