Title: Cannot load library: Cannot load library PCBUSB: dlopen(PCBUSB, 0x0005) · Issue #25 · mac-can/PCBUSB-Library · GitHub
Open Graph Title: Cannot load library: Cannot load library PCBUSB: dlopen(PCBUSB, 0x0005) · Issue #25 · mac-can/PCBUSB-Library
X Title: Cannot load library: Cannot load library PCBUSB: dlopen(PCBUSB, 0x0005) · Issue #25 · mac-can/PCBUSB-Library
Description: When using the PeakCAN plugin from QtSerialBus on macOS, the plugin fails to load the required PCBUSB dynamic library. By default, the PCBUSB driver installs to: /usr/local/lib However, Qt 6.8 attempts to load the library from several lo...
Open Graph Description: When using the PeakCAN plugin from QtSerialBus on macOS, the plugin fails to load the required PCBUSB dynamic library. By default, the PCBUSB driver installs to: /usr/local/lib However, Qt 6.8 atte...
X Description: When using the PeakCAN plugin from QtSerialBus on macOS, the plugin fails to load the required PCBUSB dynamic library. By default, the PCBUSB driver installs to: /usr/local/lib However, Qt 6.8 atte...
Opengraph URL: https://github.com/mac-can/PCBUSB-Library/issues/25
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot load library: Cannot load library PCBUSB: dlopen(PCBUSB, 0x0005)","articleBody":"When using the PeakCAN plugin from QtSerialBus on macOS, the plugin fails to load the required PCBUSB dynamic library.\n\nBy default, the PCBUSB driver installs to:\n\n`/usr/local/lib`\n\nHowever, Qt 6.8 attempts to load the library from several locations, including:\n\n`... '/usr/lib/PCBUSB' (no such file, not in dyld cache)`\n\nSince PCBUSB is not installed under _/usr/lib_, the PeakCAN plugin fails to load unless manual workarounds are applied.\n\nTo make the plugin work, I have to manually add a symlink to the bundled library:\n\n- either inside the app bundle, e.g.:\n\n`MyApp.app/Contents/Frameworks/libPCBUSB.dylib`\n\n- or next to the application binary during local development.\n\nAt the moment it is unclear what the correct long-term solution should be:\n\t•\tShould the PCBUSB driver installer be updated to place the dylib somewhere Qt can find it?\n\t•\tShould QtSerialBus / PeakCAN be patched to include /usr/local/lib or another search path?\n\nSummary\n\nThe PeakCAN plugin currently does not locate libPCBUSB.dylib in its default installation directory on macOS, which forces manual symlink creation during development and deployment.","author":{"url":"https://github.com/Pepe424","@type":"Person","name":"Pepe424"},"datePublished":"2025-12-11T14:15:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/25/PCBUSB-Library/issues/25"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:efdb008c-6b12-060f-b13e-d2f03836d4db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A210:337729:D8D689:12E8ACE:6A4BE9B7 |
| html-safe-nonce | 40227e73cbdf0688c7afa2477277f293588f6805cdb0cd71d1665d64cc94e061 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjEwOjMzNzcyOTpEOEQ2ODk6MTJFOEFDRTo2QTRCRTlCNyIsInZpc2l0b3JfaWQiOiIxODI2Njc5MzY1NDg1NDU1Nzk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d27d53350089a6530df7c2ecfb6e76a65f2ef4301f794ddcef402bc35e968548 |
| hovercard-subject-tag | issue:3719586267 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/mac-can/PCBUSB-Library/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/569e140224d80b7f49c0d0000dec52911165f27b7201f9c3ef40c0acc0bcf562/mac-can/PCBUSB-Library/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/569e140224d80b7f49c0d0000dec52911165f27b7201f9c3ef40c0acc0bcf562/mac-can/PCBUSB-Library/issues/25 |
| og:image:alt | When using the PeakCAN plugin from QtSerialBus on macOS, the plugin fails to load the required PCBUSB dynamic library. By default, the PCBUSB driver installs to: /usr/local/lib However, Qt 6.8 atte... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Pepe424 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0f5d3ba365b3985d75c32a5957c8635488d58dcf027ae6ae958eee7edaa306a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/mac-can/PCBUSB-Library git https://github.com/mac-can/PCBUSB-Library.git |
| octolytics-dimension-user_id | 61076724 |
| octolytics-dimension-user_login | mac-can |
| octolytics-dimension-repository_id | 275540406 |
| octolytics-dimension-repository_nwo | mac-can/PCBUSB-Library |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 275540406 |
| octolytics-dimension-repository_network_root_nwo | mac-can/PCBUSB-Library |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f24da9b76b42d77b0bb458f810509565e9ba5f1a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width