- Reinstall: For downloading and installing RoadRunner please refer to https://in.mathworks.com/help/roadrunner/ug/install-and-activate-roadrunner.html
- Check Dependencies: Make sure you have all the necessary dependencies installed on your system which include OpenGL drivers as well.
- Use Environment Variables: Instead of modifying LD_LIBRARY_PATH directly, you can set the environment variables LD_LIBRARY_PATH and LD_PRELOAD before running RoadRunner.
- Contact MATHWORKS Support: If the issue persists, please reach out to MATHWORKS support using the following link: https://www.mathworks.com/support/contact_us.html
RoadRunner has Unmet Dependencies
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have downloaded RoadRunner to my system. My system specs are the following
Lenovo Thinkpad E14 Gen2
OS : Ubuntu 22.04.2 LTS
Kernel : 5.19.0-41-generic
CPU : Intel Core i7 1165G7, 16 GB Memory
GPU : Nvidia GeForce MX450, Driver 530.41.03
When I tried to run RoadRunner from terminal, I got the following error
./AppRoadRunner: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
end
The ssl library comes with RoadRunner has version 1.0.0, So I found the libssl.so.1.1.0 in my computer, and run the command with LD_LIBRARY_PATH. This has solved that problem, but right after this, I get 2 more errors which says
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
I have checked the directory /usr/lib/dri for iris_dri.so and swrast_dri.so. They were exist in there. This time I run RoadRunner with LD_DEBUG=libs and I found in the output log this
/home/hsynydn/Downloads/RoadRunner_R2023a_Update_2_glnxa64/data/usr/local/RoadRunner_R2023a/bin/glnxa64/libstdc++.so.6: error: version lookup error: version `GLIBCXX_3.4.29' not found (required by /usr/lib/x86_64-linux-gnu/dri/iris_dri.so) (fatal)
As I understood, libstdc++.so.6 which coming with RoadRunner version is old. I have replaced libstdc++.so.6 with the one in my system. In this case I got the the error which says
libdrm_nouveau.so.2: error: symbol lookup error: undefined symbol: drmCloseBufferHandle
I think 2 libstdc++ libraries are ABI incompatible.
How can I proceed in this complication?
0 Commenti
Risposte (2)
Praveen Reddy
il 25 Ago 2023
Hi,
I understand that the issue you are facing is related to library compatibility between RoadRunner and your system. I suggest trying the following steps to resolve the issue:
0 Commenti
Dinesh
il 18 Set 2023
Hi
I understand that you are trying to install RoadRunner in Ubuntu 22.04 LTS. As of now RoadRunner is supported for Ubuntu Version >= 16.04 and Ubuntu Version <= 20.04.
RoadRunner can be installed on Ubuntu 22.04 by following the mentioned steps.
- Install RoadRunner using the following command.
sudo dpkg -i RoadRunner_R2022a_glnxa64.deb
- Run the following command to link library item 12 which is supported by Ubuntu 22 to library item 11.
sudo ln -s /usr/lib/x86_64-linux-gnu/libidn.so.12 usr/lib64/libidn.so.l1
- Make sure the link is established by going to files => Other locations => Computer => lib64 and find the libidn.so.11 file
- Now add the library to the path to do that run the following command.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64
- To make sure the LB_LIBRARY_PATH is set appropriately every time without us manually doing it we can add the command at the end of home>. bashrc file and save it. After saving it and restart the computer.
- Open a new terminal and then change directory to '/usr/lib.’
- make a new folder using the following command!
sudo mkdir dri
- Then change directory to /usr/lib/x86_64-linux-gnu/dri
- Copy some files of the present working directory to the new dri folder using the following commands.
sudo cp swrast_dri.so /usr/locat/dri
sudo cp nouveau_dri.so /usr/local/dri
- Run the following commands.
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libgll-mesa-dri
sudo apt-get install libgl1-mesa-glx
- As for the last step we will have to change the names of a few files in RoadRunner. To do so type "sudo nautilus"
- After a GUI (Graphical User Interface) for files appears, Navigate to other locations on left > Computer > usr > local > RoadRunner > bin > glnxa64.
- Change the names of the following library names.
- libstdc++.so.6 to libstdc++.so.6.old
- libdrm.so.2 to libdrm.so.2.old, similarly do for the following files.
- libXi.so.6
- libX11.so.6
- libXau.so.6
- libXext.so.6
- libXdmcp.so.6
- libXfixes.so.3
- libXrender.so.1
- libXdamage.so.1
- libXxf86vm.so.1
- libxshmfence.so.1
- libcurl.so.4
Now you are ready to start the RoadRunner. Use command window to open RoadRunner
- Open command window
- Change directory to cd usr/local/RoadRunner_R2022a/bin/glnxa64
- ./AppRoadRunner and then hit enter there might be some warning and errors show up in the command window ignore them and wait for few seconds
Hope this helps.
Regards
Dinesh.
4 Commenti
Dinesh
il 12 Apr 2024
Hi Yasin,
This was a temporary workaround. The packages mentioned above might have changed and should be updated. It is better to use Ubuntu 20.04 LTS version as it is supported for RoadRunner. In case you have to use Ubuntu 22.04 LTS, please reach out to MathWorks Technical Support for further help.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!