# Problems using OpenCV

**URL:** <https://discourse.julialang.org/t/problems-using-opencv/115446>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [June 10, 2024, 10:22pm UTC](https://discourse.julialang.org/t/problems-using-opencv/115446 "2024-06-10T22:22:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oOosys](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ooosys/32/209566_2.png) [@oOosys](https://discourse.julialang.org/u/oOosys)\
**Post date:** [June 10, 2024, 10:22pm UTC](https://discourse.julialang.org/t/problems-using-opencv/115446/1 "2024-06-10T22:22:27Z")

</div>

```julia
julia> import OpenCV
Precompiling OpenCV
        Info Given OpenCV was explicitly requested, output will be shown live 
ERROR: LoadError: InitError: could not load library "/home/o/.julia/artifacts/beeb384c8ba60497d81e26a28f74ed99aef88791/lib/libcxxwrap_julia.so"V_jll
/home/o/.julia/artifacts/beeb384c8ba60497d81e26a28f74ed99aef88791/lib/libcxxwrap_julia.so: undefined symbol: small_typeof, version JL_LIBJULIA_1.10
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl ./libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)

```

No idea how to fix it … or what information to provide in order to get the right hints what might be the problem (Linux Mint 21.2 Xfce , Julia Version 1.10.4 )

---

<div class="post-metadata">

**Author:** ![Rakesh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rakesh/32/202257_2.png) [@Rakesh](https://discourse.julialang.org/u/Rakesh)\
**Post date:** [June 11, 2024, 2:18pm UTC](https://discourse.julialang.org/t/problems-using-opencv/115446/2 "2024-06-11T14:18:47Z")

</div>

This is known issue [Precompile error on Julia 1.10 · Issue #36 · JuliaImages/OpenCV.jl · GitHub](https://github.com/JuliaImages/OpenCV.jl/issues/36)

Use Julia 1.9

---

<div class="post-metadata">

**Author:** ![Rakesh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rakesh/32/202257_2.png) [@Rakesh](https://discourse.julialang.org/u/Rakesh)\
**Post date:** [October 28, 2024, 5:19pm UTC](https://discourse.julialang.org/t/problems-using-opencv/115446/3 "2024-10-28T17:19:30Z")

</div>

This issue resolved in [Bump package version, CXXWrap, and some small fixes by ViralBShah · Pull Request #47 · JuliaImages/OpenCV.jl · GitHub](https://github.com/JuliaImages/OpenCV.jl/pull/47).

Now, OpenCV works fine in new versions of julia.
