Skip to content

Arch build fails to link BambuStudio: cannot find -lOSMesa #623

Description

@BenJule

Arch's modern mesa package no longer ships the classic libOSMesa, which BambuStudio links against (-lOSMesa). The Arch build therefore fails at the final link step with /usr/bin/ld: cannot find -lOSMesa, and even if it linked, the resulting package would not run on a stock Arch system.

mesa-amber still provides libOSMesa but conflicts with mesa, so it cannot simply be installed alongside it.

Fix: during the dependency step, extract libOSMesa.so.8 (and its libglapi.so.0 dependency) out of the mesa-amber package without installing it, so the link succeeds; and bundle both into the produced package so it also runs on a stock Arch install.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions