Genymotion Throws Libssl_Conf.So: Cannot Open Shared Object File: No Such File or Directory

OSError: file.so: cannot open shared object file: No such file or directory

The shared library that I was trying to open was not build for the architecture used by your Virtual Machine.

aarch64 vs x84_64

When I asked the question, I was not aware that my target (NanoPi Neo2) needed different flags than the virtual machine when building the shared library.

https://unix.stackexchange.com/questions/461179/what-is-the-difference-between-different-implemetation-of-arm64-aarch64-for-lin

Differences between arm64 and aarch64

Startup program and libocci.so.11.1: cannot open shared object file: No such file or directory

If you have to provide -L$ORACLE_HOME/lib on the build command line, that suggests to me that the libraries aren't in any of the system's library paths, so they won't be found automatically at runtime.

You can confirm this theory by setting LD_LIBRARY_PATH=$ORACLE_HOME/lib before running your program; it should then work. However, depending on your requirements, this may be only worth a temporary workaround (and I'm assuming the $ORACLE_HOME is available!). A more long-term fix might be to add this path to /etc/ld.so.conf, though this then will affect all executables on your system.

Ultimately, you should follow the installation instructions for the library.

java.lang.UnsatisfiedLinkError: /usr/local/jdk5/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory

I have faced similar error and below is the solution that work for me.

Please set Java path for your tomcat server in file catalina.sh.

Set JAVA_HOME path to your jdk version which is same as your compile version.

For Example :

JAVA_HOME=/usr/java5/jdk1.5.0_21  

If required please also set CATALINA_HOME to your tomcat installation directory.

May this will help you.

Java maven selenium webdriver not working in docker container

I had the same issue in a similar context (GitLab, Jasmine tests launched by Maven via phantomjs-maven-plugin, docker image maven:3.6-jdk-8-slim). I had to use following commands in my docker image before running my tests:

apt-get update
apt-get install -y libfontconfig1 fontconfig libfontconfig1-dev libfreetype6-dev
export OPENSSL_CONF=/etc/ssl

sources:

  • https://blog.51cto.com/8745668/2310507
  • genymotion throws libssl_conf.so: cannot open shared object file: No such file or directory


Related Topics



Leave a reply



Submit