Giter Site home page Giter Site logo

java.lang.UnsatisfiedLinkError: no jniopencv_videoio in java.library.path due to java.lang.UnsatisfiedLinkError: ... (libgtk-x11-2.0.so.0) about sbt-javacv HOT 7 CLOSED

bytedeco avatar bytedeco commented on June 14, 2024
java.lang.UnsatisfiedLinkError: no jniopencv_videoio in java.library.path due to java.lang.UnsatisfiedLinkError: ... (libgtk-x11-2.0.so.0)

from sbt-javacv.

Comments (7)

LtHummus avatar LtHummus commented on June 14, 2024 2

For anyone that stumbles upon this later looking for answers:

If you are on Amazon Linux 2, sudo yum install gtk2-devel

from sbt-javacv.

lloydmeta avatar lloydmeta commented on June 14, 2024

That's strange, I have not seen that error before. In the interest of being thorough, can you make sure you're using the latest JavaCPP by setting the following?

javaCppVersion := "1.3.1"

Also, ffmpeg's latest version is "3.2.1" I believe.

It might be possible that on that platform (linux-x86_64) the shared library object wasn't packaged with the presest jar. @saudet any idea?

from sbt-javacv.

RoiViber avatar RoiViber commented on June 14, 2024

@lloydmeta thanks for the quick reply. I tried adding the version argument, same result here.
I'm using Amazon's AWS machines, and they have their own linux distribution so I also don't seem to find any way of installing this specific gtk version manually.

from sbt-javacv.

RoiViber avatar RoiViber commented on June 14, 2024

btw, looking at /myjar.jar/org/bytedeco/javacpp/linux-x86_64/ i have a a lot of libjni*.so files, none of them contain "gtk", so apparently it isn't packaged.

from sbt-javacv.

saudet avatar saudet commented on June 14, 2024

GTK comes preinstalled with pretty much any Linux distribution... except the one from Amazon that is? So it looks like we might have to do something about that. As usual, contributions are welcome!

from sbt-javacv.

lloydmeta avatar lloydmeta commented on June 14, 2024

I'm closing this issue for now because it doesn't seem to be related to the SBT plugin.

The discussion should probably continue on the javacpp-presets project, or this PR.

from sbt-javacv.

saudet avatar saudet commented on June 14, 2024

Duplicate of bytedeco/javacpp-presets#593

from sbt-javacv.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.