dancasimiro/WAV.jl

How to resolve Libdl error on MAC?

Closed this issue · 2 comments

(v1.0) pkg> test WAV
Testing WAV
Status /var/folders/63/pvzb2kfx2cg8_g2m5pchdwrh0000gn/T/tmpK4A6dT/Manifest.toml
[5789e2e9] FileIO v1.0.1
[8149f6b0] WAV v0.9.0
[2a0f44e3] Base64 [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Base64]
[ade2ca70] Dates [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Dates]
[8ba89e20] Distributed [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Distributed]
[b77e0a4c] InteractiveUtils [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/InteractiveUtils]
[76f85450] LibGit2 [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/LibGit2]
[8f399da3] Libdl [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Libdl]
[37e2e46d] LinearAlgebra [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/LinearAlgebra]
[56ddb016] Logging [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Logging]
[d6f4376e] Markdown [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Markdown]
[44cfe95a] Pkg [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Pkg]
[de0858da] Printf [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Printf]
[3fa0cd96] REPL [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/REPL]
[9a3f8284] Random [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Random]
[ea8e919c] SHA [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/SHA]
[9e88b42a] Serialization [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Serialization]
[6462fe0b] Sockets [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Sockets]
[8dfed614] Test [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Test]
[cf7118a7] UUIDs [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/UUIDs]
[4ec0a83e] Unicode [/Applications/Julia-1.0.app/Contents/Resources/julia/bin/../share/julia/stdlib/v1.0/Unicode]
ERROR: LoadError: InitError: UndefVarError: Libdl not defined
Stacktrace:
[1] init() at /Users/Tony/.julia/packages/WAV/npPEy/src/WAV.jl:12
[2] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:627
[3] macro expansion at ./logging.jl:312 [inlined]
[4] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:698
[5] _require(::Base.PkgId) at ./loading.jl:931
[6] require(::Base.PkgId) at ./loading.jl:852
[7] macro expansion at ./logging.jl:311 [inlined]
[8] require(::Module, ::Symbol) at ./loading.jl:834
[9] include at ./boot.jl:317 [inlined]
[10] include_relative(::Module, ::String) at ./loading.jl:1038
[11] include(::Module, ::String) at ./sysimg.jl:29
[12] include(::String) at ./client.jl:388
[13] top-level scope at none:0
during initialization of module WAV
in expression starting at /Users/Tony/.julia/packages/WAV/npPEy/test/runtests.jl:3
ERROR: Package WAV errored during testing

I believe that this error is fixed in master. I need to tag a new version and publish it to the package repository. I’ll try to do that soon. I’m sorry for the inconvenience, but I’m the meantime you could try master.

@zheisenberg Follow issue #63 to track the process of tagging a new release. Please reopen this issue if v1.0.0 of WAV.jl does not fix your problem.