-
Notifications
You must be signed in to change notification settings - Fork 77
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
'could not load library "libGR.so"' error with Julia 1.0 and GR 0.32.3 #133
Comments
Please rebuild GR: ENV["GRDIR"]=""
Pkg.build("GR") This should download the GR run-time libraries (including libGR.so.dylib) again. |
@jheinen Thanks! It worked. |
@jheinen I tried this, |
Is it a typo or did you omit the semicolon?
|
it isn't a typo, i,e. I omit the semicolon. So, I tried ERROR: error compiling #plot#19: error compiling plot_data: error compiling send_meta: error compiling openmeta: could not load library "libGR.dll" The specified module could not be found. |
The library that Julia always load is "libGR.dll", but that's "libgr.dll" in the |
Could you please try to rename Strange, because I can't reproduce this behaviour on my Windows 10 host ... |
Sorry, it doesn't work. Besides, the zip file can't decompress completely. The error blog says there is a error in the end of file. So, I don't have |
Can you manually unzip (using Julia's 7z)? 7z x gr-0.32.0-Windows-x86_64.tar.gz
...
7z x gr-0.32.0-Windows-x86_64.tar -ttar
...
Extracting gr
Extracting gr/fonts
Extracting gr/fonts/NimbusMonL-BoldObli.afm
Extracting gr/fonts/NimbusRomNo9L-ReguItal.pfb
Extracting gr/fonts/URWPalladioL-BoldItal.afm
Extracting gr/fonts/NimbusSanL-Regu.afm
Extracting gr/fonts/NimbusRomNo9L-Medi.afm
Extracting gr/fonts/URWBookmanL-Ligh.afm
Extracting gr/fonts/CenturySchL-BoldItal.afm
Extracting gr/fonts/NimbusSanL-Bold.afm
Extracting gr/fonts/NimbusSanL-BoldItal.afm
Extracting gr/fonts/CenturySchL-Bold.pfb
Extracting gr/fonts/URWBookmanL-DemiBoldItal.afm
Extracting gr/fonts/NimbusSanL-BoldItal.pfb
Extracting gr/fonts/URWBookmanL-Ligh.pfb
Extracting gr/fonts/URWPalladioL-Roma.afm
Extracting gr/fonts/NimbusRomNo9L-MediItal.afm
Extracting gr/fonts/NimbusSanL-BoldCond.afm
Extracting gr/fonts/NimbusRomNo9L-Medi.pfb
Extracting gr/fonts/URWGothicL-Demi.afm
Extracting gr/fonts/NimbusRomNo9L-MediItal.pfb
Extracting gr/fonts/NimbusSanL-BoldCond.pfb
Extracting gr/fonts/NimbusSanL-ReguCondItal.pfb
Extracting gr/fonts/NimbusMonL-Regu.pfb
Extracting gr/fonts/URWPalladioL-Ital.afm
Extracting gr/fonts/URWPalladioL-Roma.pfb
Extracting gr/fonts/NimbusSanL-BoldCondItal.afm
Extracting gr/fonts/NimbusSanL-ReguItal.pfb
Extracting gr/fonts/URWBookmanL-DemiBoldItal.pfb
Extracting gr/fonts/CenturySchL-Ital.pfb
Extracting gr/fonts/gksfont.dat
Extracting gr/fonts/NimbusMonL-ReguObli.pfb
Extracting gr/fonts/StandardSymL.afm
Extracting gr/fonts/NimbusSanL-ReguCondItal.afm
Extracting gr/fonts/URWGothicL-DemiObli.afm
Extracting gr/fonts/NimbusMonL-BoldObli.pfb
Extracting gr/fonts/URWBookmanL-LighItal.pfb
Extracting gr/fonts/CenturySchL-Roma.afm
Extracting gr/fonts/NimbusRomNo9L-Regu.pfb
Extracting gr/fonts/CenturySchL-Bold.afm
Extracting gr/fonts/URWBookmanL-DemiBold.afm
Extracting gr/fonts/CenturySchL-Roma.pfb
Extracting gr/fonts/URWGothicL-Book.afm
Extracting gr/fonts/URWGothicL-BookObli.afm
Extracting gr/fonts/URWChanceryL-MediItal.afm
Extracting gr/fonts/CenturySchL-Ital.afm
Extracting gr/fonts/NimbusMonL-Bold.pfb
Extracting gr/fonts/URWPalladioL-Ital.pfb
Extracting gr/fonts/URWPalladioL-Bold.afm
Extracting gr/fonts/NimbusSanL-ReguItal.afm
Extracting gr/fonts/URWGothicL-BookObli.pfb
Extracting gr/fonts/NimbusSanL-Bold.pfb
Extracting gr/fonts/URWPalladioL-Bold.pfb
Extracting gr/fonts/NimbusMonL-Regu.afm
Extracting gr/fonts/URWGothicL-DemiObli.pfb
Extracting gr/fonts/URWPalladioL-BoldItal.pfb
Extracting gr/fonts/Dingbats.pfb
Extracting gr/fonts/URWChanceryL-MediItal.pfb
Extracting gr/fonts/Dingbats.afm
Extracting gr/fonts/NimbusMonL-Bold.afm
Extracting gr/fonts/NimbusSanL-ReguCond.pfb
Extracting gr/fonts/NimbusRomNo9L-Regu.afm
Extracting gr/fonts/NimbusMonL-ReguObli.afm
Extracting gr/fonts/URWBookmanL-LighItal.afm
Extracting gr/fonts/URWGothicL-Demi.pfb
Extracting gr/fonts/NimbusSanL-ReguCond.afm
Extracting gr/fonts/NimbusSanL-Regu.pfb
Extracting gr/fonts/URWBookmanL-DemiBold.pfb
Extracting gr/fonts/StandardSymL.pfb
Extracting gr/fonts/CenturySchL-BoldItal.pfb
Extracting gr/fonts/URWGothicL-Book.pfb
Extracting gr/fonts/NimbusSanL-BoldCondItal.pfb
Extracting gr/fonts/NimbusRomNo9L-ReguItal.afm
Extracting gr/bin
Extracting gr/bin/zmqplugin.dll
Extracting gr/bin/cairoplugin.dll
Extracting gr/bin/libstdc++-6.dll
Extracting gr/bin/wmfplugin.dll
Extracting gr/bin/Qt5Widgets.dll
Extracting gr/bin/libGLESv2.dll
Extracting gr/bin/Qt5Network.dll
Extracting gr/bin/libgr.dll
Extracting gr/bin/qt5plugin.dll
Extracting gr/bin/libgcc_s_dw2-1.dll
Extracting gr/bin/d3dcompiler_47.dll
Extracting gr/bin/htmplugin.dll
Extracting gr/bin/gtkplugin.dll
Extracting gr/bin/libgcc_s_sjlj-1.dll
Extracting gr/bin/gksqt.exe
Extracting gr/bin/svgplugin.dll
Extracting gr/bin/platforms
Extracting gr/bin/platforms/qwindows.dll
Extracting gr/bin/Qt5Gui.dll
Extracting gr/bin/libGLESv2d.dll
Extracting gr/bin/libgks.dll
Extracting gr/bin/libGR3.dll
Extracting gr/bin/Qt5Core.dll
Extracting gr/bin/gsplugin.dll
Extracting gr/bin/pgfplugin.dll
Extracting gr/bin/movplugin.dll
Extracting gr/bin/figplugin.dll
Extracting gr/bin/wxplugin.dll
Extracting gr/bin/glplugin.dll
Extracting gr/bin/libwinpthread-1.dll
Extracting gr/bin/qtplugin.dll
Extracting gr/bin/libgcc_s_seh-1.dll
Extracting gr/include
Extracting gr/include/gr3.h
Extracting gr/include/gr.h
Extracting gr/include/gks.h
Extracting gr/include/grwidget.h
Everything is Ok
Folders: 5
Files: 106
Size: 219911112
Compressed: 219996160 |
It doesn't work... I'm sorry, i'm going to back Julia 0.6.4 and wait new version which can address this problem. Thanks you very much again. Waiting your new version. |
As a workaround you could copy the |
Finally, it does work! This problem is simple. |
I have got the same issue yesterday. The building log was empty. |
Guys, I have located the problem, which is actually triggered by an unsteady network. In To fix the error, the user can delete the |
I agree with @metorm . In China, the network is really unsteady (especially for Github nowadays). |
Same thing happened for me. My kernel interrupted while downloading gr zip file, which caused the error. Solved after removing tempory file and build again. |
I had the same problem, but my Edit: Fixed formatting |
So, the dowload/build status is also saved some where else ...
发自我的小米手机
在 Eirik Eylands Brandås <notifications@github.com>,2018年11月14日 02:18写道:
I had the same problem, but my ~/.julia/packages/GR/joQgG/deps/downloads folder was completely empty. I fixed it by simply deleting the entire GR folder (e.g. rm -r GR/*) and then rebooting Julia, ] add GR` after which the issue was fixed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#133 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ALhd-E8x-WQp3RQoBq7dPXDZwCHUs22Dks5uuwzlgaJpZM4WAAU4>.
|
Oh...My computer can't build this.When I run it: using Pkg
ENV["GRDIR"]=""
Pkg.build("GR") It will become ‘Building GR → May I ask how to solve this?@jheinen thank you very much!
|
Which platform are you using? versioninfo() |
Julia Version 1.1.0 for macOS Mojave 10.14.3. |
macOS is what we use. Please try to |
Thank you for your tip but I think it can't work... (v1.1) pkg> update GR
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `~/.julia/environments/v1.1/Project.toml`
[no changes]
Updating `~/.julia/environments/v1.1/Manifest.toml`
[no changes] it seems that there is no change? (sorry for being a novice...) |
So he does the system really start |
@jheinen oh, I think I solved this problem! Actually, this is the network problem, when I build this i can't download the package so this becomes an infinite loop of work, i tried to use proxy and it does work! |
Maybe it's worth to re-open this issue and fix the problem properly? |
What happens if you |
I solved the issue, by executing the script below, as you suggested in comment above, thanks.
My point is that requiring the user intervention for such an ordinary and common task as a installing package should not be counted as an acceptable solution. In my opinion it's a sign of a deeper problem with the package manager that should be addressed. |
Hi, but it does not work. I am not sure whether it is a network problem. Could you please tell me what else I can do? Thank you so much! By the way, it reports: |
Something seems to block thew download on your side. The corresponding download in Julia is realized with |
Could you please be more specific about anything I can try to fix this problem? Thank you so much!
…------------------ Original ------------------
From: Josef Heinen <notifications@github.com>
Date: Fri,Dec 20,2019 2:17 AM
To: jheinen/GR.jl <GR.jl@noreply.github.com>
Cc: kkkllli <1581085120@qq.com>, Comment <comment@noreply.github.com>
Subject: Re: [jheinen/GR.jl] 'could not load library "libGR.so"' error with Julia 1.0 and GR 0.32.3 (#133)
Something seems to block thew download on your side.
You correspinding download is Julia is realized with curl -O https://gr-framework.org/downloads/gr-latest-Windows-x86_64.tar.gz, which works fine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
"Something" means, that there is probably a firewall or protection system on your side. We don't filter anything on our side. If you have access to a Unix system, please try the above What happens, if you try to download the required run-time in you browser? (Link) |
I download the required run-time in my browser as you recommended but it cannot work.
I do not have Unix system. I also find that the package problem is not only in GR(please see the attached screenshots). Does it mean I have some problem in my computer setup? What should I do to solve it? Thank you so much!
…------------------ Original ------------------
From: "Josef Heinen"<notifications@github.com>;
Date: Fri, Dec 20, 2019 04:56 PM
To: "jheinen/GR.jl"<GR.jl@noreply.github.com>;
Cc: "Lydia"<1581085120@qq.com>;"Comment"<comment@noreply.github.com>;
Subject: Re: [jheinen/GR.jl] 'could not load library "libGR.so"' error with Julia 1.0 and GR 0.32.3 (#133)
"Something" means, that there is probably a firewall or protection system on your side. We don't filter anything on our side. If you have access to a Unix system, please try the above curl command.
What happens, if you try to download the required run-time in you browser? (Link)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Did you install the recommended Windows Management Framework, as described here. I seem to remember that without this run-time, you can't use the Julia |
This worked for me!! |
I also got this issue on a clean Ubuntu 20.04 machine with Julia 1.4.2. GR 0.49.1 was installed indirectly, as a dependency of Plots. (The suggested fix worked.) |
import Pkg;Pkg.build("GR") |
What's the content of |
sloved! just Spend much time building logfiles.I have to say it's too slow.But in a word,thanks author |
Google brought me here; unfortunately I still have no idea where libGR.so is. I assume it is |
What's the content of the GR run-time library (
|
Hi, I have similar problem when I try to use 'Triplot'. May I ask you about this problem? I've got this error message, ERROR: LoadError: could not load library "libGR.so" I already tried ENV["GRDIR"]=""; Pkg.build("GR), but there was no changes. julia> ENV["GRDIR"]="" Also, based on your last comments on Feb 2, I tried to do "using GR", but the following came out. julia> using GR May I ask you any comments or advice on this?? |
Did you try to restart Julia and update all packages? |
Yes, I restarted Julia and updated all packages by "add Packagename" . |
But it seems to me, that you are using an old GR version, as the library name is |
Is there any other method to update packages? I just entered "Pkg.add [Package name]" on REPL. |
|
This is weird. I've been using 1.7.3 since it arrived. I use plotting every day. I haven't changed configurations or anything, but this morning I sat down to do some work and got this on the first Pluto notebook I opened: Failed to show value: Following the advice in this thread I've tried:
This didn't help.
Still same problem. Here is the output from: julia> using GR julia> readdir(joinpath(ENV["GRDIR"], "lib")) So, it appears that I've got libGR.dylib, but the message says it's missing libGR.so.dylib. I've got no idea what could have happened. |
Unfortunately, I can't reproduce the problem. Could you try the following command to see, if there is a system-wide problem?
Or, could you temporarily rename your |
The full error message is below.
The text was updated successfully, but these errors were encountered: