Error while installing RoadRunner: "error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory"
36 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 15 Sep. 2022
Beantwortet: Omkar
am 31 Mai 2024
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?
Akzeptierte Antwort
MathWorks Support Team
am 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.
0 Kommentare
Weitere Antworten (1)
Omkar
am 31 Mai 2024
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
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!