Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] dyld[21200]: Library not loaded: @rpath/QtWidgets on macOS with v1.39.0 Plots.jl with Julia v1.10.0-rc1 #4842

Closed
singularitti opened this issue Nov 6, 2023 · 1 comment
Labels

Comments

@singularitti
Copy link
Contributor

Details

julia> plot(1:19)

dyld[20243]: Library not loaded: @rpath/QtWidgets
  Referenced from: <F79C4FD9-F24E-3EF7-BC6C-0065D085BDAA> ~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/gksqt
  Reason: tried: '/workspace/destdir/lib/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/workspace/destdir/lib/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/./QtWidgets' (no such file), '/workspace/destdir/lib/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/workspace/destdir/lib/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/../../../../lib/QtGui.framework/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/../../../../lib/QtCore.framework/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/../../../../lib/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/../../../../lib/QtWidgets.framework/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/../../../../lib/QtNetwork.framework/QtWidgets' (no such file), '/workspace/destdir/lib/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/workspace/destdir/lib/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/./QtWidgets' (no such file), '/workspace/destdir/lib/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/workspace/destdir/lib/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/../../../../lib/QtGui.framework/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/../../../../lib/QtCore.framework/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/../../../../lib/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/../../../../lib/QtWidgets.framework/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/Applications/gksqt.app/Contents/MacOS/../../../../lib/QtNetwork.framework/QtWidgets' (no such file), '~.julia/artifacts/2a86ef020f132332b2f4be2fb40912cc7df5da29/lib/QtWidgets' (no such file), '~.julia/artifacts/92b949e2f3a66439c69a8d334fc95810fbd9df9b/lib/QtWidgets' (no such file), '~.julia/artifacts/5b338c8fa90c05e6faea86e54d2996cca76cfbbe/lib/QtWidgets' (no such file), '~.asdf/installs/julia/1.10.0-rc1/lib/julia/QtWidgets' (no such file), '~.julia/artifacts/63cdaaa4262d5b5b5a880fec012bd9304d6f9a8b/lib/QtWidgets' (no such file), '~.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib/QtWidgets' (no such file), '~.julia/artifacts/95f332911a8dd5ab82620ba58c217193bd0d515d/lib/QtWidgets' (no such file), '~.julia/artifacts/09f03e36eda588bb3a9ba375a1987f65e31538db/lib/QtWidgets' (no such file), '~.julia/artifacts/9a76a401f82e0e3cafce618fb8d2d5c307ab2836/lib/QtWidgets' (no such file), '~.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib/QtWidgets' (no such file), '~.julia/artifacts/c65e07e3da4f1bf519bc432389dbbd61df320457/lib/QtWidgets' (no such file), '~.julia/artifacts/4ec62d729213a748d2300dd0832ebe8ed2292093/lib/QtWidgets' (no such file), '~.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib/QtWidgets' (no such file), '~.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib/QtWidgets' (no such file), '~.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib/QtWidgets' (no such file), '~.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib/QtWidgets' (no such file), '~.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib/QtWidgets' (no such file), '~.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib/QtWidgets' (no such file), '~.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib/QtWidgets' (no such file), '~.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib/QtWidgets' (no such file), '~.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib/QtWidgets' (no such file), '~.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib/QtWidgets' (no such file), '~.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib/QtWidgets' (no such file), '~.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib/QtWidgets' (no such file), '~.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib/QtWidgets' (no such file), '~.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib/QtWidgets' (no such file), '~.julia/artifacts/779e94a792b089936ee92f4122727d8f76929cfb/lib/QtWidgets' (no such file), '~.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib/QtWidgets' (no such file), '~.julia/artifacts/6095fcd268ea712c0f786f5ff1a45bf0eb7b005e/lib/QtWidgets' (no such file), '~.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib/QtWidgets' (no such file), '~.julia/artifacts/9472204d25ab69d52d571b650fdc9d562455ca4a/lib/QtWidgets' (no such file), '~.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib/QtWidgets' (no such file), '~.julia/artifacts/5d7ac54565aa955be0d3ff53c9ccebff5422f807/lib/QtWidgets' (no such file), '~.julia/artifacts/9a9f59eab237f7454fee1d6ab112a254032540b7/lib/QtWidgets' (no such file), '~.julia/artifacts/2107e7bc404f11b178cb9724cb371ef704995727/lib/QtWidgets' (no such file), '~.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/lib/QtWidgets' (no such file), '~.asdf/installs/julia/1.10.0-rc1/bin/../lib/julia/QtWidgets' (no such file), '~.asdf/installs/julia/1.10.0-rc1/bin/../lib/QtWidgets' (no such file)
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 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 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 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 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

julia> Plots.GR.GRPreferences.gksqt
Base.RefValue{Union{Nothing, String}}("~/.julia/artifacts/f1af74bc0a21f699d4974bdceac10d4638e61e74/bin/gksqt")

Backends

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
pythonplot
plotlyjs
pgfplotsx
unicodeplots
inspectdr
gaston

Versions

Plots.jl version: v1.39.0
Backend version (]st -m <backend(s)>): v0.72.10
Output of versioninfo():

Julia Version 1.10.0-rc1
Commit 5aaa9485436 (2023-11-03 07:44 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 10 × Apple M1 Pro
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
  Threads: 1 on 8 virtual cores

Similar to #4415, it used to work in Julia v1.10.0-beta3.

@singularitti
Copy link
Contributor Author

singularitti commented Nov 6, 2023

This bug seems to be solved after updating Qt6Base_jll from v6.5.3+0 to v6.5.3+1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant