Error while installing RoadRunner: "error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory"

36 vues (au cours des 30 derniers jours)
After installing RoadRunner, I get the following error trying to run the installer
"error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory"
how do I resolve this?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 15 Sep 2022
It is possible this shared library is missing from your system or it is not on the path or there is a mismatch in the name of the shared library that the installer expects and the actual name in your Linux distribution. 
Run the following command in your Terminal at the root directory of your system. This will find any "libidn" shared object in your system and list them.
find /usr -name "*libidn*" -print
 
libidn.so.11 is listed
This is if you find the library listed in the /usr/lib64/ folder.
 
The following are two reasons to explain this issue:
1. It is not on your system path - 
Run the following command to add the library path to the "LD_LIBRARY_PATH" environment variable.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/library/path/ sudo ldconfig
 
Replace /your/library/path with the path to the shared library
 
2. The filenames of the installed system libraries do not quite match up with what the compiled application installer is expecting for libidn.so.11 on the host system. 
The following commands create an install directory, copy your RoadRunner installer and then link to the libidn.so.11 library. These commands should be run from this directory /usr/Local/RoadRunner R2022a/bin/glnxa64
$ mkdir /tmp/my_install
$ cp ./AppRoadRunner /tmp/my_install
$ cd /tmp/my_install
$ ln -s /your/library/path/ libidn.so.11
$ ./AppRoadRunner
To make these changes accessible from anywhere, create the equivalent symbolic links within the /usr/lib64 directory.
libidn.so.11 is not listed
Install the 64 bit version of the libidn.so.11 library. Then follow Step 1 above after obtaining the library path. If the error still persists, follow Step 2 above.

Plus de réponses (1)

Omkar
Omkar le 31 Mai 2024
As of release 2024a, for Linux OSs Ubuntu 16.04, 18.04 and 20.04 are supported.
In case of Ubuntu 22.04, following steps can be taken to resolve the issue with the reported error: "Error - ./AppRoadRunner: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory"
Start a terminal and run following two commands:
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb
After this RoadRunner 2024a should run. Navigate to /usr/local/RoadRunner_R2024a/bin/glnxa64
Run ./AppRoadRunner

Produits


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by