-
Notifications
You must be signed in to change notification settings - Fork 50
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 "C:\Users\Thor\.julia\packages\MbedTLS\a1JFn\deps\usr\bin\libmbedtls.dll" #211
Comments
Is anyone watching? |
Hi Anthony - Sorry no one has replied to you. I'm afraid I won't be much help fixing the issue, but have you tried building MbedTLS itself? In the REPL, just do |
Hey Kevin- No worries, and I have tried building MbedTLS. Building the package works fine. |
Ok, that's good - does this solve the original issue, or do you still end up with the same error? |
Unfortunately, I still end up with the same issue. |
:-( I'm afraid I don't have a good idea where to go next (not a windows user). What's the actual error message (just above the stack trace)? Might also be helpful to share the actual query (if you can), I can see if I get some other error on mac/linux that might be illuminating. |
The actual error is:
The query being: Where request_str being:
|
Alright, the good news is that your code works fine on my mac. The bad news is that's the end of the help I can offer. I'm tagging the contributors to the EUtils package - maybe they have an idea? @mirestrepo @fernandogelin @mcmcgrath13 @ibacher |
Thanks for the help Kevin! Hopefully we can figure out why it is not working on my windows machine. |
So I was able to get the function to work on a coworkers mac as well. So it looks like the function does not work for Windows unfortunately. Do you know of any way to get it up and running on Windows? |
I have no idea, hopefully someone else will chime in... |
Is there an error message when you do |
I asked that earlier - seems it built fine |
I can confirm that this works for rme in Windows 10, with MbedTLS 0.7.0 Some troubleshooting ideas: I presume you have checked that the dll exists in that location: On the Julia prompt, could you try Just to check if this is a problem with a particular site (doesn't seem so, but still, to verify) can you do: Can you check the dll using dependency walker? |
Those are good ideas from @aviks. Another idea would be to add/download https://github.com/JuliaBinaryWrappers/MbedTLS_jll.jl and see if the problem still exists there (this would involve |
julia> dlopen("C:\Users\Thor.julia\packages\MbedTLS\a1JFn\deps\usr\bin\libmbedtls.dll")
I checked to see if the if the problem is site specific and As for dlopen("C:\Users\Thor.julia\packages\MbedTLS\a1JFn\deps\usr\bin\libmbedtls.dll") it gives the following error:
I also tried dependency walker and I get the following error when I attempt to open the dll file:
|
|
Use
so that the backslashes aren't treated as escapes. |
Okay so running
|
It looks like the using MbedTLS 0.7.0 on Julia v1.4.0 over Julia v1.1.1 seems to resolve the issue. |
Hey, I am trying to use a function in the BioServices.jl package, efetch() which utilizes MbedTLS.jl. When I run efetch I get the following error and says could not load library "C:\Users\Thor.julia\packages\MbedTLS\a1JFn\deps\usr\bin\libmbedtls.dll":
I am running julia 1.2.0
on a Windows 10 machine and the following packages installed:
The text was updated successfully, but these errors were encountered: