Skip to content

Logo (image): also try unsuffixed ImageMagick library names - #2560

Merged
CarterLi merged 1 commit into
fastfetch-cli:devfrom
pkubaj:freebsd-imagemagick-fix
Sep 2, 2026
Merged

Logo (image): also try unsuffixed ImageMagick library names#2560
CarterLi merged 1 commit into
fastfetch-cli:devfrom
pkubaj:freebsd-imagemagick-fix

Conversation

@pkubaj

@pkubaj pkubaj commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

FreeBSD (and other systems that build ImageMagick without encoding the
quantum depth into the library name) install libMagickCore-7.so and
libMagickCore-6.so without a .Q16HDRI / .Q16 suffix. dlopen currently
only tries the suffixed names, so image logos always fall back to ASCII
art with "Image Magick library not found" even when ImageMagick is
installed. Append the plain library names as a last resort.

  • I have tested my changes locally.

FreeBSD (and other systems that build ImageMagick without encoding the
quantum depth into the library name) install libMagickCore-7.so and
libMagickCore-6.so without a .Q16HDRI / .Q16 suffix.  dlopen currently
only tries the suffixed names, so image logos always fall back to ASCII
art with "Image Magick library not found" even when ImageMagick is
installed.  Append the plain library names as a last resort.
@CarterLi
CarterLi merged commit 20597bf into fastfetch-cli:dev Sep 2, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants