Title: v0.9.0 alpha wheels ship no shared libraries: Bonsai fails to load on all platforms · Issue #9364 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: v0.9.0 alpha wheels ship no shared libraries: Bonsai fails to load on all platforms · Issue #9364 · IfcOpenShell/IfcOpenShell
X Title: v0.9.0 alpha wheels ship no shared libraries: Bonsai fails to load on all platforms · Issue #9364 · IfcOpenShell/IfcOpenShell
Description: Bug Description The bonsai-0.9.0-alpha260825 builds fail to load on all three platforms. The Python wheel ships _ifcopenshell_wrapper but none of the shared libraries it links against, so importing ifcopenshell raises immediately and Ble...
Open Graph Description: Bug Description The bonsai-0.9.0-alpha260825 builds fail to load on all three platforms. The Python wheel ships _ifcopenshell_wrapper but none of the shared libraries it links against, so importing...
X Description: Bug Description The bonsai-0.9.0-alpha260825 builds fail to load on all three platforms. The Python wheel ships _ifcopenshell_wrapper but none of the shared libraries it links against, so importing...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/9364
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"v0.9.0 alpha wheels ship no shared libraries: Bonsai fails to load on all platforms","articleBody":"### Bug Description\n\nThe `bonsai-0.9.0-alpha260825` builds fail to load on **all three platforms**. The Python wheel ships `_ifcopenshell_wrapper` but none of the shared libraries it links against, so importing `ifcopenshell` raises immediately and Blender reports `FATAL ERROR: Unable to load Bonsai`.\n\nAnyone on the unstable channel who updates today gets a Bonsai that will not start.\n\nReproduced on macOS. Confirmed by inspecting the published archives that Linux and Windows have the same defect.\n\n### Error on macOS\n\n```\nImportError: dlopen(.../ifcopenshell/_ifcopenshell_wrapper.cpython-313-darwin.so, 0x0002):\n Library not loaded: @rpath/ifcopenshell_document_rdb.dylib\n Reason: tried: '.../site-packages/ifcopenshell/ifcopenshell_document_rdb.dylib' (no such file),\n '/Applications/Blender.app/Contents/Resources/lib/ifcopenshell_document_rdb.dylib' (no such file)\n\nImportError: IfcOpenShell not built for 'darwin/64bit/python3.13'\n\nFATAL ERROR: Unable to load Bonsai\n```\n\n### It is not one missing library, it is all of them\n\n`otool -L` on the installed wrapper shows six `@rpath` dependencies, and **none** are present in the wheel:\n\n```\n@rpath/ifcopenshell_document_rdb.dylib\n@rpath/libifcopenshell.geometry.writer.dylib\n@rpath/ifcopenshell_geometry_kernel_opencascade.dylib\n@rpath/libifcopenshell.geometry.dylib\n@rpath/libifcopenshell.parse.dylib\n@rpath/libifcopenshell.plugin.dylib\n```\n\n### All three platforms are affected\n\nI downloaded the three published `py313` archives from the release and extracted the nested `ifcopenshell` wheel from each. Every one contains **exactly one** native file, the wrapper itself, and no libraries:\n\n| Platform | Native files in wheel |\n|---|---|\n| `macos-arm64` | 1, `_ifcopenshell_wrapper.cpython-313-darwin.so` |\n| `linux-x64` | 1, `_ifcopenshell_wrapper.cpython-313-x86_64-linux-gnu.so` |\n| `windows-x64` | 1, `_ifcopenshell_wrapper.cp313-win_amd64.pyd` |\n\nAnd the same dependencies are recorded in the Linux and Windows binaries:\n\n```\nlinux-x64 ifcopenshell_document_rdb.so, ifcopenshell_geometry_kernel_opencascade.so,\n libifcopenshell.geometry.so, libifcopenshell.geometry.writer.so,\n libifcopenshell.parse.so, libifcopenshell.plugin.so\n\nwindows-x64 ifcopenshell_document_rdb.dll, ifcopenshell.geometry.dll,\n ifcopenshell.parse.dll, ifcopenshell.plugin.dll\n```\n\nI have only run the macOS one, so Linux and Windows are inferred from the archives rather than observed failing. Given both list the same missing dependencies, I would expect the same result.\n\n### Likely cause\n\nv0.9.0 split IfcOpenShell into separately loadable libraries (`src/plugin/`, geometry kernels, the document backends). The wheel packaging step looks like it was not updated to bundle them alongside the wrapper, so it still ships the single extension module as though everything were statically linked.\n\nRelated: #9328, where @brunopostle raised naming and versioning of these same libraries in system installs.\n\n### Steps to reproduce\n\n1. On macOS arm64 with Blender 5.2, add the unstable repository\n2. Install or update Bonsai, which now offers `0.9.0-alpha260825`\n3. Restart Blender\n\n### Environment\n\n```\nos: Darwin 25.5.0, arm64\nblender_version: 5.2.0 LTS\npython_version: 3.13.13\nbonsai_version: 0.9.0-alpha260825\nbonsai_commit_hash: 13bc830\nbonsai_git_branch: v0.9.0\n```\n\n### Note on rolling back\n\nThere is currently no way back through the UI. The unstable repository index offers **only** `0.9.0-alpha260825` for every platform, and Blender keeps no cached copy of the previous build. The only route I found was installing stable 0.8.5 from extensions.blender.org instead, which may be worth mentioning to anyone who hits this.\n\n### Who might want to see this\n\n@aothms this looks connected to the plugin split (`a441757080`, `3d1e157ff1`) rather than to anything in Bonsai itself, so tagging you rather than guessing.\n\n@Moult flagging since it affects everyone on the unstable channel right now, on every platform.\n\nHappy to test any fix on macOS arm64 and to check the archives again after the next build.\n","author":{"url":"https://github.com/petruconduraru","@type":"Person","name":"petruconduraru"},"datePublished":"2026-08-26T14:38:46Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/9364"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:dd623941-78f4-5423-19ec-c488410631ba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD34:2FF40E:5DBDA4:841B08:6B04774C |
| html-safe-nonce | cddf7a4db9ac0db81a71a7b98c805d0f539208f046da7c827c1cd0863e7d911e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDM0OjJGRjQwRTo1REJEQTQ6ODQxQjA4OjZCMDQ3NzRDIiwidmlzaXRvcl9pZCI6IjEyNTU4MTk3NTczNTQyNTIxMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cedb5185b0930a37310c2e591104bd6427725139307ecbb2500ed6b97d75ffd9 |
| hovercard-subject-tag | issue:5258316802 |
| 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/IfcOpenShell/IfcOpenShell/9364/issue_layout |
| twitter:image | https://opengraph.githubassets.com/94f1b46930de47024a08673ba216bbbcc50017271ea56fb27de9f57f23fa2271/IfcOpenShell/IfcOpenShell/issues/9364 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/94f1b46930de47024a08673ba216bbbcc50017271ea56fb27de9f57f23fa2271/IfcOpenShell/IfcOpenShell/issues/9364 |
| og:image:alt | Bug Description The bonsai-0.9.0-alpha260825 builds fail to load on all three platforms. The Python wheel ships _ifcopenshell_wrapper but none of the shared libraries it links against, so importing... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | petruconduraru |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width