After installing and running fiftyone in python (using ubuntu 22.04), you get:
error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
After installing and running fiftyone in python (using ubuntu 22.04), you get:
error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
[DISCLAIMER: credits for this answer should go here]
libcrypto.so.1.1
is part of the libssl
package, which is by default version 3.*
on ubuntu 22.04
.
You don't want to override your default libssl
installation just for running fiftyOne. Instead, you can download an older version and install it in an isolated location. For example:
$ mkdir $HOME/Software/openssl_1.1 && cd $HOME/Software/openssl_1.1
$ cd $HOME/Software/openssl_1.1
$ wget https://www.openssl.org/source/openssl-1.1.1o.tar.gz
$ tar -zxvf openssl-1.1.1o.tar.gz
$ cd openssl-1.1.1o
$ ./config && make && make test
Then before running your python program:
EXPORT LD_LIBRARY_PATH=$HOME/Software/openssl_1.1/openssl-1.1.1o
Why this near duplicate answer?