# Updated Julia and now I can't plot

**URL:** <https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479>\
**Category:** General Usage\
**Tags:** package, plots, versions\
**Created:** [January 7, 2024, 8:06pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479 "2024-01-07T20:06:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![charperflow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charperflow/32/22252_2.png) [@charperflow](https://discourse.julialang.org/u/charperflow)\
**Post date:** [January 7, 2024, 8:06pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/1 "2024-01-07T20:06:32Z")

</div>

I am running arch linux using sway as my tiling compositor for wayland. The Arch Wiki recommends using the AUR version, so that is what I have installed on my machine. I updated to Julia 1.10.0, and now when I try to plot I get the following error:

```julia
/home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/bin/gksqt: /usr/bin/../lib/julia/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/lib/libproxy/libpxbackend-1.0.so)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be

```

I think this is an incompatibility between julia’s vendored libraries and system one, but I’m not sure how to go about fixing this.

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [January 7, 2024, 8:59pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/2 "2024-01-07T20:59:49Z")

</div>

Give a minimal reproducer and the full error with stacktrace for a start.

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [January 7, 2024, 9:07pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/3 "2024-01-07T21:07:38Z")

</div>

> [@charperflow](#):
>
> `/usr/bin/../lib/julia/libcurl.so.4: version `CURL\_OPENSSL\_4’ not found`

What does `stat /usr/lib/julia/libcurl.so.4` say?

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [January 7, 2024, 10:53pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/4 "2024-01-07T22:53:31Z")

</div>

Do you have LD\_LIBRARY\_PATH set? What’s the output of versioninfo()?

---

<div class="post-metadata">

**Author:** ![charperflow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charperflow/32/22252_2.png) [@charperflow](https://discourse.julialang.org/u/charperflow)\
**Post date:** [January 8, 2024, 5:35am UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/5 "2024-01-08T05:35:08Z")

</div>

The minimal reproducer is as follows:

```julia
using Plots
scatter([1],[1])

```

This produces the following error

```julia
/home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/bin/gksqt: /usr/bin/../lib/julia/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/lib/libproxy/libpxbackend-1.0.so)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER

```

The response to `stat /usr/lib/julia/libcurl.so.4` is as follows:

```julia
  File: /usr/lib/julia/libcurl.so.4 -> libcurl.so.4.8.0
  Size: 16 Blocks: 0 IO Block: 4096 symbolic link
Device: 259,2	Inode: 54920017 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2024-01-07 21:30:33.248446100 -0800
Modify: 2024-01-06 18:35:52.000000000 -0800
Change: 2024-01-06 18:36:01.551249147 -0800
 Birth: 2024-01-06 18:36:01.551249147 -0800

```

and the output of `versioninfo()` is as follows:

```julia
Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 12 × 12th Gen Intel(R) Core(TM) i5-1235U
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, alderlake)
  Threads: 1 on 12 virtual cores

```

I know that’s a lot of information, but I wanted to provide a response to each of you. I hope that helps. Let me know if anything else would be helpful!

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [January 8, 2024, 7:22am UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/6 "2024-01-08T07:22:29Z")

</div>

Which AUR julia did you install?

Could you try downloading julia from [Download Julia](https://julialang.org/downloads) and see if that works?

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [January 8, 2024, 2:29pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/7 "2024-01-08T14:29:53Z")

</div>

> [@charperflow](#):
>
> The minimal reproducer is as follows:

Can’t reproduce. Looking at the Plots.jl and GR.jl Github issues, there seem to be some relevant ones, including [Arch Linux: bundled runtime fails with `CURL\_OPENSSL\_4' not found/can't connect to GKS socket · Issue #528 · jheinen/GR.jl · GitHub](https://github.com/jheinen/GR.jl/issues/528). But I can’t figure out what could be causing the issue, or what’s a good workaround.

One thing I would suggest, as a troubleshooting step or possible workaround, is to try without your Julia depot, which should contain all of your Julia packages, preferences, etc. Something like:

```sh
# First back up the depot
mv "$HOME"/.julia "$HOME"/julia_depot_backup

# Now try exercising the minimal reproducer above
julia 

```

An alternative to fiddling with your depot is to start Julia with a temporary depot. I’ve never done this, but this seems to be the relevant docs: [Environment Variables · The Julia Language](https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_DEPOT_PATH)

---

<div class="post-metadata">

**Author:** ![charperflow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charperflow/32/22252_2.png) [@charperflow](https://discourse.julialang.org/u/charperflow)\
**Post date:** [January 8, 2024, 3:27pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/8 "2024-01-08T15:27:05Z")

</div>

I have julia-bin installed, because it is the first recommended one on the archwiki but maybe I’ll give juliaup (the second one listed) a shot. If that dosen’t work then I will try to install directly from your link, but I’d like to get an AUR version working if possible.

UPDATE: Ah, that didn’t work either 😕

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [January 8, 2024, 3:55pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/9 "2024-01-08T15:55:02Z")

</div>

What does not make sense is why is “/usr/lib/libproxy/libpxbackend-1.0.so” involved at all here?

Provide the output of the following in Julia.

```julia
versioninfo()
using Pkg
pkg"status"
pkg"status -m"
using GR
GR.GRPreferences.diagnostics()

```

Also what is the output of the following from a shell?

```julia
pacman -Si julia-bin julia | grep 'Name\|Version'
ldd /home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/bin/gksqt

```

---

<div class="post-metadata">

**Author:** ![charperflow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charperflow/32/22252_2.png) [@charperflow](https://discourse.julialang.org/u/charperflow)\
**Post date:** [January 8, 2024, 4:03pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/10 "2024-01-08T16:03:45Z")

</div>

I used paru instead of pacman b/c its installed from the AUR, but regardless `paru -Si julia-bin julia | grep 'Name\|Version'` returns the following output:

```julia
Name : julia
Version : 2:1.10.0-1
Name : julia-bin
Version : 1.10.0-1

```

And your first request (after a couple misspellings of preferences 😬) returns the following :

```julia

julia> versioninfo()
Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 12 × 12th Gen Intel(R) Core(TM) i5-1235U
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, alderlake)
  Threads: 1 on 12 virtual cores

julia> using Pkg

julia> pkg"status"
Status `~/.julia/environments/v1.10/Project.toml`
  [336ed68f] CSV v0.10.12
  [5ae59095] Colors v0.12.10
  [d54d1f39] CurlHTTP v0.1.3
  [a93c6f00] DataFrames v1.6.1
⌅ [28b8d3ca] GR v0.72.10
  [91a5bcdd] Plots v1.39.0
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated`

julia> pkg"status -m"
Status `~/.julia/environments/v1.10/Manifest.toml`
  [d1d4a3ce] BitFlags v0.1.8
  [336ed68f] CSV v0.10.12
  [944b1d66] CodecZlib v0.7.3
  [35d6a980] ColorSchemes v3.24.0
  [3da002f7] ColorTypes v0.11.4
  [c3611d14] ColorVectorSpace v0.10.0
  [5ae59095] Colors v0.12.10
  [34da2185] Compat v4.10.1
  [f0e56b4a] ConcurrentUtilities v2.3.0
  [d38c429a] Contour v0.6.2
  [a8cc5b0e] Crayons v4.1.1
  [d54d1f39] CurlHTTP v0.1.3
  [9a962f9c] DataAPI v1.15.0
  [a93c6f00] DataFrames v1.6.1
  [864edb3b] DataStructures v0.18.16
  [e2d170a0] DataValueInterfaces v1.0.0
  [8bb1440f] DelimitedFiles v1.9.1
  [ffbed154] DocStringExtensions v0.9.3
  [460bff9d] ExceptionUnwrapping v0.1.10
  [c87230d0] FFMPEG v0.4.1
  [48062228] FilePathsBase v0.9.21
  [53c48c17] FixedPointNumbers v0.8.4
  [59287772] Formatting v0.4.2
⌅ [28b8d3ca] GR v0.72.10
  [42e2da0e] Grisu v1.0.2
  [cd3eb016] HTTP v1.10.1
  [842dd82b] InlineStrings v1.4.0
  [41ab1584] InvertedIndices v1.3.0
  [92d709cd] IrrationalConstants v0.2.2
  [82899510] IteratorInterfaceExtensions v1.0.0
  [1019f520] JLFzf v0.1.7
  [692b3bcd] JLLWrappers v1.5.0
  [682c06a0] JSON v0.21.4
  [b964fa9f] LaTeXStrings v1.3.1
  [23fbe1c1] Latexify v0.16.1
  [2ab3a3ac] LogExpFunctions v0.3.26
  [e6f89c97] LoggingExtras v1.0.3
  [1914dd2f] MacroTools v0.5.12
  [739be429] MbedTLS v1.1.9
  [442fdcdd] Measures v0.3.2
  [e1d29d7a] Missings v1.1.0
  [77ba4419] NaNMath v1.0.2
  [4d8831e6] OpenSSL v1.4.1
  [bac558e1] OrderedCollections v1.6.3
  [69de0a69] Parsers v2.8.1
  [b98c9c47] Pipe v1.3.0
  [ccf2f8ad] PlotThemes v3.1.0
  [995b91a9] PlotUtils v1.4.0
  [91a5bcdd] Plots v1.39.0
  [2dfb63ee] PooledArrays v1.4.3
  [aea7be01] PrecompileTools v1.2.0
  [21216c6a] Preferences v1.4.1
  [08abe8d2] PrettyTables v2.3.1
  [3cdcf5f2] RecipesBase v1.3.4
  [01d81517] RecipesPipeline v0.6.12
  [189a3867] Reexport v1.2.2
  [05181044] RelocatableFolders v1.0.1
  [ae029012] Requires v1.3.0
  [6c6a2e73] Scratch v1.2.1
  [91c51154] SentinelArrays v1.4.1
  [992d4aef] Showoff v1.0.3
  [777ac1f9] SimpleBufferStream v1.1.0
  [a2af1166] SortingAlgorithms v1.2.1
  [82ae8749] StatsAPI v1.7.0
  [2913bbd2] StatsBase v0.34.2
  [892a3eda] StringManipulation v0.3.4
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.11.1
  [62fd8b95] TensorCore v0.1.1
  [3bb67fe8] TranscodingStreams v0.10.2
  [5c2747f8] URIs v1.5.1
  [1cfade01] UnicodeFun v0.4.1
  [1986cc42] Unitful v1.19.0
  [45397f5d] UnitfulLatexify v1.6.3
  [41fe7b60] Unzip v0.2.0
  [ea10d353] WeakRefStrings v1.4.2
  [76eceee3] WorkerUtilities v1.6.1
  [6e34b625] Bzip2_jll v1.0.8+0
  [83423d85] Cairo_jll v1.16.1+1
  [2702e6a9] EpollShim_jll v0.0.20230411+0
  [2e619515] Expat_jll v2.5.0+0
  [b22a6f82] FFMPEG_jll v4.4.4+1
  [a3f928ae] Fontconfig_jll v2.13.93+0
  [d7e528f0] FreeType2_jll v2.13.1+0
  [559328eb] FriBidi_jll v1.0.10+0
  [0656b61e] GLFW_jll v3.3.9+0
⌅ [d2c73de3] GR_jll v0.72.10+0
  [78b55507] Gettext_jll v0.21.0+0
  [7746bdde] Glib_jll v2.76.5+0
  [3b182d85] Graphite2_jll v1.3.14+0
  [2e76f6c2] HarfBuzz_jll v2.8.1+1
  [aacddb02] JpegTurbo_jll v3.0.1+0
  [c1c5ebd0] LAME_jll v3.100.1+0
  [88015f11] LERC_jll v3.0.0+1
  [1d63c593] LLVMOpenMP_jll v15.0.7+0
  [dd4b983a] LZO_jll v2.10.1+0
⌅ [e9f186c6] Libffi_jll v3.2.2+1
  [d4300ac3] Libgcrypt_jll v1.8.7+0
  [7e76a0d4] Libglvnd_jll v1.6.0+0
  [7add5ba3] Libgpg_error_jll v1.42.0+0
  [94ce4f54] Libiconv_jll v1.17.0+0
  [4b2f31a3] Libmount_jll v2.35.0+0
⌅ [89763e89] Libtiff_jll v4.5.1+1
  [38a345b3] Libuuid_jll v2.36.0+0
  [e7412a2a] Ogg_jll v1.3.5+1
  [458c3c95] OpenSSL_jll v3.0.12+0
  [91d4177d] Opus_jll v1.3.2+0
  [30392449] Pixman_jll v0.42.2+0
  [c0090381] Qt6Base_jll v6.5.3+1
  [a44049a8] Vulkan_Loader_jll v1.3.243+0
  [a2964d1f] Wayland_jll v1.21.0+1
  [2381bf8a] Wayland_protocols_jll v1.31.0+0
  [02c8fc9c] XML2_jll v2.12.2+0
  [aed1982a] XSLT_jll v1.1.34+0
  [ffd25f8a] XZ_jll v5.4.5+0
  [f67eecfb] Xorg_libICE_jll v1.0.10+1
  [c834827a] Xorg_libSM_jll v1.2.3+0
  [4f6342f7] Xorg_libX11_jll v1.8.6+0
  [0c0b7dd1] Xorg_libXau_jll v1.0.11+0
  [935fb764] Xorg_libXcursor_jll v1.2.0+4
  [a3789734] Xorg_libXdmcp_jll v1.1.4+0
  [1082639a] Xorg_libXext_jll v1.3.4+4
  [d091e8ba] Xorg_libXfixes_jll v5.0.3+4
  [a51aa0fd] Xorg_libXi_jll v1.7.10+4
  [d1454406] Xorg_libXinerama_jll v1.1.4+4
  [ec84b674] Xorg_libXrandr_jll v1.5.2+4
  [ea2f1a96] Xorg_libXrender_jll v0.9.10+4
  [14d82f49] Xorg_libpthread_stubs_jll v0.1.1+0
  [c7cfdc94] Xorg_libxcb_jll v1.15.0+0
  [cc61e674] Xorg_libxkbfile_jll v1.1.2+0
  [e920d4aa] Xorg_xcb_util_cursor_jll v0.1.4+0
  [12413925] Xorg_xcb_util_image_jll v0.4.0+1
  [2def613f] Xorg_xcb_util_jll v0.4.0+1
  [975044d2] Xorg_xcb_util_keysyms_jll v0.4.0+1
  [0d47668e] Xorg_xcb_util_renderutil_jll v0.3.9+1
  [c22f9ab0] Xorg_xcb_util_wm_jll v0.4.1+1
  [35661453] Xorg_xkbcomp_jll v1.4.6+0
  [33bec58e] Xorg_xkeyboard_config_jll v2.39.0+0
  [c5fb5394] Xorg_xtrans_jll v1.5.0+0
  [3161d3a3] Zstd_jll v1.5.5+0
  [35ca27e7] eudev_jll v3.2.9+0
  [214eeab7] fzf_jll v0.43.0+0
  [1a1c6b14] gperf_jll v3.1.1+0
  [a4ae2306] libaom_jll v3.4.0+0
  [0ac62f75] libass_jll v0.15.1+0
  [2db6ffa8] libevdev_jll v1.11.0+0
  [f638f0a6] libfdk_aac_jll v2.0.2+0
  [36db933b] libinput_jll v1.18.0+0
  [b53b4c65] libpng_jll v1.6.40+0
  [f27f6e37] libvorbis_jll v1.3.7+1
  [009596ad] mtdev_jll v1.1.6+0
  [1270edf5] x264_jll v2021.5.5+0
  [dfaa095f] x265_jll v3.5.0+0
  [d8fb68d0] xkbcommon_jll v1.4.1+1
  [0dad84c5] ArgTools v1.1.1
  [56f22d72] Artifacts
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [f43a241f] Downloads v1.6.0
  [7b1f6079] FileWatching
  [9fa8497b] Future
  [b77e0a4c] InteractiveUtils
  [b27032c2] LibCURL v0.6.4
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [ca575930] NetworkOptions v1.2.0
  [44cfe95a] Pkg v1.10.0
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA v0.7.0
  [9e88b42a] Serialization
  [6462fe0b] Sockets
  [2f01184e] SparseArrays v1.10.0
  [10745b16] Statistics v1.10.0
  [fa267f1f] TOML v1.0.3
  [a4e569a6] Tar v1.10.0
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode
  [e66e0078] CompilerSupportLibraries_jll v1.0.5+1
  [deac9b47] LibCURL_jll v8.4.0+0
  [e37daf67] LibGit2_jll v1.6.4+0
  [29816b5a] LibSSH2_jll v1.11.0+1
  [c8ffd9c3] MbedTLS_jll v2.28.2+1
  [14a3606d] MozillaCACerts_jll v2023.1.10
  [4536629a] OpenBLAS_jll v0.3.23+2
  [05823500] OpenLibm_jll v0.8.1+2
  [efcefdf7] PCRE2_jll v10.42.0+1
  [bea87d4a] SuiteSparse_jll v7.2.1+1
  [83775a58] Zlib_jll v1.2.13+1
  [8e850b90] libblastrampoline_jll v5.8.0+1
  [8e850ede] nghttp2_jll v1.52.0+1
  [3f19e933] p7zip_jll v17.4.0+2
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`

julia> using GR

julia> GT.GRPrefences.diagnostics()
ERROR: UndefVarError: `GT` not defined
Stacktrace:
 [1] top-level scope
   @ REPL[6]:1

julia> GR.GRPrefences.diagnostics()
ERROR: UndefVarError: `GRPrefences` not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ REPL[7]:1

julia> GR.GRPreferences.diagnostics()
┌ Info: GRDIR Environment Variable
└ get(ENV, "GRDIR", missing) = "/home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6"
┌ Info: GR Preferences
│ binary = nothing
└ grdir = nothing
┌ Info: resolved_grdir
│ resolved_grdir = "/home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6"
│ isdir(resolved_grdir) = true
└ isdir.(joinpath.((resolved_grdir,), ("bin", "lib", "include", "fonts"))) = (true, true, true, true)
┌ Info: GR_jll Preferences
│ libGR_path = nothing
│ libGR3_path = nothing
│ libGRM_path = nothing
│ libGKS_path = nothing
│ gksqt_path = nothing
└ grplot_path = nothing
┌ Info: GR_jll Overrides.toml
│ overrides_toml_path = "/home/charper/.julia/artifacts/Overrides.toml"
│ isfile(overrides_toml_path) = false
└ get(gr_jll_override_dict, "GR", nothing) = nothing
┌ Info: GR_jll
│ GR_jll.libGR_path = "/home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/lib/libGR.so"
│ GR_jll.libGR3_path = "/home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/lib/libGR3.so"
│ GR_jll.libGRM_path = "/home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/lib/libGRM.so"
│ GR_jll.libGKS_path = "/home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/lib/libGKS.so"
│ GR_jll.gksqt_path = "/home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/bin/gksqt"
└ GR_jll.grplot_path = "/home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/bin/grplot"
(binary = nothing, grdir = nothing, libGR_path = nothing, libGR3_path = nothing, libGRM_path = nothing, libGKS_path = nothing, gksqt_path = nothing, grplot_path = nothing, overrides_toml_path = "/home/charper/.julia/artifacts/Overrides.toml", gr_jll_override_dict = Dict{String, Any}())

```

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [January 8, 2024, 4:08pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/12 "2024-01-08T16:08:15Z")

</div>

What is

```julia
ldd /home/charper/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/bin/gksqt

```

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [January 8, 2024, 4:10pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/13 "2024-01-08T16:10:49Z")

</div>

> [@charperflow](#):
>
> ```julia
> ⌅ [28b8d3ca] GR v0.72.10
> [91a5bcdd] Plots v1.39.0
> 
> ```

Do you intentionally have both Plots.jl and GR.jl added to the project? Can you do `using Pkg; pkg"rm GR"` and then try the minimal reproducer again from a fresh REPL session?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [January 8, 2024, 4:16pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/14 "2024-01-08T16:16:09Z")

</div>

Well I just asked him to load GR…

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [January 8, 2024, 4:40pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/15 "2024-01-08T16:40:26Z")

</div>

In a fresh Julia session, try this.

```julia
using Pkg
pkg"activate --temp"
pkg"add GR_jll@0.72 DependencyWalker"
using DependencyWalker, GR_jll
Library(GR_jll.gksqt_path)

```

The objective is to figure out where `/usr/lib/libproxy/libpxbackend-1.0.so` is getting involved.

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [January 8, 2024, 4:46pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/16 "2024-01-08T16:46:32Z")

</div>

The alternate path is follow the recommendations here:

> <https://github.com/jheinen/GR.jl/issues/528>
>
> GR.jl stopped working on Arch Linux with the bundled runtime, but works with GR …compiled from source. 
> 
> Reading the other issues here (e.g., #319), it seems that installing the \[gr-framework\](https://aur.archlinux.org/packages/gr-framework) AUR package is the recommended way of using GR.jl on Arch? If so, maybe it would be helpful to put this information in some more prominent place in the README? (Apologies if it already is there and I just missed it).
> 
> Details when using the bundled runtime:
> \`\`\`julia
> julia\> ENV\["JULIA\_DEBUG"\] = "GR"; using GR; histogram(randn(10000))
> ┌ Debug: Artifacts setup
> │ ENV\["GKSwstype"\] = "gksqt"
> │ ENV\["GKS\_QT"\] = "env LD\_LIBRARY\_PATH=/home/sandig/.julia/artifacts/7661e5a9aa217ce3c468389d834a4fb43
> b0911e8/lib:/home/sandig/.julia/artifacts/e4e0c1bb8f52a7a9d586af15bc1713e83c1f42af/lib:/home/sandig/.jul
> ia/artifacts/d00220164876dea2cb19993200662745eed5e2db/lib:/usr/bin/../lib/julia:/home/sandig/.julia/arti
> facts/fe5a1a3ce046f07a35c636ff7a75c2185ff45536" ⋯ 4603 bytes ⋯ "andig/.julia/artifacts/f03dd5ac03468009d
> 5a99bbfcdf336c2dc372de4/lib:/home/sandig/.julia/artifacts/8a8d0ba819ce1e30b93f34cc61f891d1334be59d/lib:/
> home/sandig/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/lib:/usr/bin/../lib/julia:/usr/bin
> /../lib /home/sandig/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/bin/gksqt"
> └ @ GR ~/.julia/packages/GR/yBe3g/src/GR.jl:349
> ┌ Debug: Default GKS\_ENCODING
> │ ENV\["GKS\_ENCODING"\] = "utf8"
> └ @ GR ~/.julia/packages/GR/yBe3g/src/GR.jl:363
> /home/sandig/.julia/artifacts/7f59a0ec3d19c98dce30a3ba8ea9cbd8824ce4a6/bin/gksqt: /usr/bin/../lib/julia/
> libcurl.so.4: version \`CURL\_OPENSSL\_4' not found (required by /usr/lib/libproxy/libpxbackend-1.0.so)
> connect: Connection refused
> GKS: can't connect to GKS socket application
> 
> GKS: Open failed in routine OPEN\_WS
> GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE\_WS
> GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
> \`\`\`
> 
> With runtime built from source everything works:
> \`\`\`julia
> julia\> ENV\["JULIA\_DEBUG"\] = "GR"; 
> julia\> ENV\["GRDIR"\] = "/usr/gr";
> julia\> using GR; 
> julia\> histogram(randn(10000))
> ┌ Debug: Artifacts setup
> │ ENV\["GKSwstype"\] = "gksqt"
> │ ENV\["GKS\_QT"\] = "env LD\_LIBRARY\_PATH=/usr/gr/lib/ /usr/gr/bin/gksqt"
> └ @ GR ~/.julia/packages/GR/yBe3g/src/GR.jl:349
> ┌ Debug: Default GKS\_ENCODING
> │ ENV\["GKS\_ENCODING"\] = "utf8"
> └ @ GR ~/.julia/packages/GR/yBe3g/src/GR.jl:363
> \`\`\`
> 
> Package versions:
> \`\`\`
> (@v1.9) pkg\> status GR
> Status \`~/.julia/environments/v1.9/Project.toml\`
> \[28b8d3ca\] GR v0.72.10
> \`\`\`
> \`\`\`
> $ pacman -Qi mesa qt5-base julia-bin gr-framework | grep 'Name\\|Version'
> Name : mesa
> Version : 1:23.2.1-2
> Name : qt5-base
> Version : 5.15.11+kde+r136-1
> Name : julia-bin
> Version : 1.9.3-1
> Name : gr-framework
> Version : 0.72.10-1
> \`\`\`

Basically install [AUR (en) - gr-framework](https://aur.archlinux.org/packages/gr-framework)

Do

```julia
using GR
GR.GRPreferences.use_system_binary("/usr/gr"; force = true)

```

and perhaps use the system julia package?

Also, I’m just confused why there are two julia packages listed by `paru`. I do not understand the relationship bewteen `julia` and `julia-bin`.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [January 8, 2024, 5:25pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/17 "2024-01-08T17:25:09Z")

</div>

`DependencyWalker.Library` isn’t very useful when debugging binary executables, reason why it’s called `Library` and not `Executable`. But I agree the objective is understanding where `/usr/lib/libproxy/libpxbackend-1.0.so` is coming from.

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [January 8, 2024, 5:30pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/18 "2024-01-08T17:30:35Z")

</div>

> [@mkitti](#):
>
> The objective is to figure out where `/usr/lib/libproxy/libpxbackend-1.0.so` is getting involved.

FWIW that file is part of libproxy, which is a dependency of QT6, which is a dependency of GR.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [January 8, 2024, 5:34pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/19 "2024-01-08T17:34:22Z")

</div>

I have Arch Linux and that package is installed, but the offending library doesn’t get picked up when I run plotting commands with the GR backend. So there’s probably _something_ in @charperflow’s setup which is forcing that library to be loaded. But we need to find out what. This usually happens when the user sets environment variables like `LD_LIBRARY_PATH` or `LD_PRELOAD`, but that didn’t seem to be the case above (at least not for `LD_LIBRARY_PATH`).

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [January 8, 2024, 5:38pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/20 "2024-01-08T17:38:27Z")

</div>

@barche ran into the same issue at some point.

> <https://github.com/JuliaPackaging/Yggdrasil/pull/7371#issuecomment-1729211990>
>
> Testing now with the new Qt6Base binaries and the compiled artifact from this PR… plotting with GR gives the following error. I have no immediate ideas on how to solve this:
> 
> \`\`\`
> .julia/dev/GR\_jll/override/bin/gksqt: /usr/bin/../lib/julia/libcurl.so.4: version \`CURL\_OPENSSL\_4' not found (required by /usr/lib/libproxy/libpxbackend-1.0.so)
> connect: Connection refused
> GKS: can't connect to GKS socket application
> \`\`\`

Apparently, one can easily get mixed up between the two package distributions if Bart can get tripped up.

Is Arch installing a rogue artifact or package into a Julia depot somehow?

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [January 8, 2024, 5:43pm UTC](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479/21 "2024-01-08T17:43:36Z")

</div>

> [@mkitti](#):
>
> Is Arch installing a rogue artifact or package into a Julia depot somehow?

@charperflow mentioned that they looked at Arch Wiki, which at [Julia - ArchWiki](https://wiki.archlinux.org/title/Julia) suggests to install either [julia-bin](https://aur.archlinux.org/packages/julia-bin/) (which is simply downloading julia official binaries) or [juliaup](https://aur.archlinux.org/packages/juliaup/). I’m assuming @charperflow followed either of the two suggestions.

[Next page](https://discourse.julialang.org/t/updated-julia-and-now-i-cant-plot/108479.md?page=2)
