Skip to content

Fallback to /usr/sbin/ldconfig when not in PATH (#532)#536

Open
zarmhast wants to merge 1 commit into
lmstudio-ai:mainfrom
zarmhast:zarmhast/ldconfig-fallback
Open

Fallback to /usr/sbin/ldconfig when not in PATH (#532)#536
zarmhast wants to merge 1 commit into
lmstudio-ai:mainfrom
zarmhast:zarmhast/ldconfig-fallback

Conversation

@zarmhast

Copy link
Copy Markdown

Summary

  • Add fallback to /usr/sbin/ldconfig when ldconfig is not found in $PATH

Description

Some Linux distributions (notably Alpine Linux, Suse) do not include /usr/sbin in the default PATH. This causes lms daemon update to fail on those systems, even though ldconfig is installed and available at /usr/sbin/ldconfig.

This change adds a fallback: if ldconfig is not found via $PATH, the checkLinuxLibatomic() function now also tries /usr/sbin/ldconfig before reporting that ldconfig is unavailable.

Fixes #532.

@github-actions

github-actions Bot commented Apr 23, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot added the CLA signed Indicates if all contributors have signed the CLA label Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA signed Indicates if all contributors have signed the CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"ldconfig" must be available on your PATH before updating

1 participant