Skip to content

Use Base's MPFR library name in ccall - #96

Merged
ScottPJones merged 1 commit into
JuliaString:mainfrom
KristofferC:kc/base-lib-names
Oct 22, 2026
Merged

ScottPJones merged 1 commit into
JuliaString:mainfrom
KristofferC:kc/base-lib-names

Conversation

@KristofferC

Copy link
Copy Markdown
Contributor

Julia 1.14 on Windows no longer installs the unversioned libmpfr.dll, only libmpfr-6.dll, so a ccall into :libmpfr fails with could not load library there (JuliaLang/julia#63849). Use Base.MPFR.libmpfr, which names the library that Base itself loads.

Julia versions before 1.9 do not define it, so fall back to the bare name there.

🤖 Generated with Claude Code

Julia 1.14 on Windows no longer installs the unversioned `libmpfr.dll`, only `libmpfr-6.dll`, so a `ccall` into `:libmpfr` fails with `could not load library` there (JuliaLang/julia#63849). Use `Base.MPFR.libmpfr`, which names the library that Base itself loads.

Julia versions before 1.9 do not define it, so fall back to the bare name there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ScottPJones
ScottPJones merged commit b3e6f3f into JuliaString:main Oct 22, 2026
7 checks passed
@ScottPJones

Copy link
Copy Markdown
Member

Thanks for the update!

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