Polymake.jl can't find shared object?

Discussions on installation issues go here.
tim-duff
Posts: 2
Joined: 30 Jul 2020, 05:14

Polymake.jl can't find shared object?

Postby tim-duff » 30 Jul 2020, 05:27

OS: Ubuntu 20.04

I tried installing via the Julia REPL as instructed at https://github.com/oscar-system/Polymake.jl. No errors and I now have Polymake 4.0. The issue is with "using"

Code: Select all

julia> using Polymake [ Info: Precompiling Polymake [d720cf60-89b5-51f5-aff5-213f193123e7] ERROR: LoadError: could not load library "/home/tim/.julia/packages/Polymake/ZrnNN/src/../deps/src/libpolymake.so" /home/tim/.julia/packages/Polymake/ZrnNN/src/../deps/src/libpolymake.so: cannot open shared object file: No such file or directory Stacktrace: [1] dlopen(::String, ::UInt32; throw_error::Bool) at /build/julia-98cBbp/julia-1.4.1+dfsg/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:109 [2] dlopen at /build/julia-98cBbp/julia-1.4.1+dfsg/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:109 [inlined] [3] readmodule(::String, ::Symbol, ::Module, ::Nothing) at /home/tim/.julia/packages/CxxWrap/ZOkSN/src/CxxWrap.jl:693 [4] wrapmodule(::String, ::Symbol, ::Module, ::Nothing) at /home/tim/.julia/packages/CxxWrap/ZOkSN/src/CxxWrap.jl:698 [5] top-level scope at /home/tim/.julia/packages/Polymake/ZrnNN/src/Polymake.jl:35 [6] include(::Module, ::String) at ./Base.jl:377 [7] top-level scope at none:2 [8] eval at ./boot.jl:331 [inlined] [9] eval(::Expr) at ./client.jl:449 [10] top-level scope at ./none:3 in expression starting at /home/tim/.julia/packages/Polymake/ZrnNN/src/Polymake.jl:31 ERROR: Failed to precompile Polymake [d720cf60-89b5-51f5-aff5-213f193123e7] to /home/tim/.julia/compiled/v1.4/Polymake/QizyK_NUnyo.ji. Stacktrace: [1] error(::String) at ./error.jl:33 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272 [3] _require(::Base.PkgId) at ./loading.jl:1029 [4] require(::Base.PkgId) at ./loading.jl:927 [5] require(::Module, ::Symbol) at ./loading.jl:922
There are similarly-named files elsewhere on my system

Code: Select all

/home/tim/.julia/packages/Polymake/1kaCM/deps/usr/lib/libpolymake.so /home/tim/.julia/packages/Polymake/1kaCM/deps/usr/lib/libpolymake.so.4.1 /home/tim/.julia/packages/Polymake/1kaCM/deps/usr/logs/relink_to_rpath_libpolymake.so.4.1.log.gz /home/tim/.julia/packages/Polymake/1kaCM/deps/usr/logs/update_linkage_libpolymake.so.4.1_libflint.so.13.log.gz /home/tim/.julia/packages/Polymake/1kaCM/deps/usr/logs/update_linkage_libpolymake.so.4.1_libgmp.so.10.log.gz /home/tim/.julia/packages/Polymake/1kaCM/deps/usr/logs/update_linkage_libpolymake.so.4.1_libmpfr.so.6.log.gz /home/tim/.julia/packages/Polymake/1kaCM/deps/usr/logs/update_rpath_libpolymake.so.4.1_libgmp.so.10.log.gz /home/tim/.julia/packages/Polymake/uEf5e/deps/usr/lib/libpolymake.so /home/tim/.julia/packages/Polymake/uEf5e/deps/usr/lib/libpolymake.so.4.0 /home/tim/.julia/packages/Polymake/uEf5e/deps/usr/logs/update_linkage_libpolymake.so.4.0_libflint.so.13.log /home/tim/.julia/packages/Polymake/uEf5e/deps/usr/logs/update_linkage_libpolymake.so.4.0_libgmp.so.10.log /home/tim/.julia/packages/Polymake/uEf5e/deps/usr/logs/update_linkage_libpolymake.so.4.0_libmpfr.so.6.log

tim-duff
Posts: 2
Joined: 30 Jul 2020, 05:14

Re: Polymake.jl can't find shared object?

Postby tim-duff » 14 Sep 2020, 01:14

Closed -- I updated packages "CDDLib", then "Polymake", and now everything magically works.


Return to “Installing polymake”