[Bug 285931] lang/julia: SEGV while IJulia is added
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 285931] lang/julia: SEGV while IJulia is added"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jan 2026 04:08:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285931
James Wheaton <wheaton@pm.me> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wheaton@pm.me
--- Comment #1 from James Wheaton <wheaton@pm.me> ---
Confirmed with julia-1.10.5_1, FreeBSD 15.0-RELEASE, fresh install.
It makes a fair amount of progress downloading the dependencies. Then it
segfaults after "Precompiling project..." message.
When downloading it spits out the following error repeatedly:
---
@ Downloads.Curl
/usr/local/share/julia/stdlib/v1.10/Downloads/src/Curl/utils.jl:34
┌ Error: curl_easy_setopt: 48
│
│ You may be using an old system libcurl library that doesn't understand
options that Julia uses. You can try the following Julia code to see which
libcurl library you are using:
│
│ using Libdl
│ filter!(contains("curl"), dllist())
│
│ If this indicates that Julia is not using the libcurl library that is shipped
with Julia, then that is likely to be the problem. This either means:
│
│ 1. You are using an unofficial Julia build which is configured to use a
system libcurl library that is not recent enough; you may be able to fix this
by upgrading the system libcurl. You should complain to your distro maintainers
for allowing Julia to use a too-old libcurl version and consider using official
Julia binaries instead.
│
│ 2. You are overriding the library load path by setting `LD_LIBRARY_PATH`,
in which case you are in advanced usage territory. You can try upgrading the
system libcurl, unsetting `LD_LIBRARY_PATH`, or otherwise arranging for Julia
to load a recent libcurl library.
│
│ If neither of these is the case and Julia is picking up a too old libcurl,
please file an issue with the `Downloads.jl` package.
---
Julia is kind of notorious for vendoring its dependencies. It's recommended to
use its quirky vendored dependencies even though this is awful in principle.
You can see the full list here:
https://github.com/gentoo/gentoo/blob/master/dev-lang/julia/julia-1.9.4-r2.ebuild#L117-L160
--
You are receiving this mail because:
You are the assignee for the bug.