I am trying to interact with SUMO via MATLAB according to script here.
At line 43, the MATLAB command is
system(['sumo-gui -c ' '"' scenarioPath '"' ' --remote-port 8873 --start&']);
Since I am using Ubuntu 16.04.1 LTS, I fixed scenarioPath.
Now, this line is equal to
system('sumo-gui -c "/path/to/SUMO/docs/tutorial/traci_tls/data/cross.sumocfg" --remote-port 8873 --start&');
When I run it nothing does happen (ans=0) while when I test the command in bash command line the sumo-gui application starts.
I believe the problem is even further. when I try the other applications:
system('firefox &')
system('nautilus &')
system('totem &')
nothing does happen. While they all run under Linux command line. when I run them without semicolon ; then I receive ans=0. without any message.
If I remove & at the end of them, I receive the following messages. What am I doing wrong?
system('firefox')
/usr/lib/firefox/firefox: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/firefox/firefox)
ans =
1
or
system('nautilus')
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libexempi.so.3)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libmircommon.so.5)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /usr/lib/x86_64-linux-gnu/libmircommon.so.5)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmircommon.so.5)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libmircommon.so.5)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /usr/lib/x86_64-linux-gnu/libmircommon.so.5)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicui18n.so.55)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0)
nautilus: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0)
ans =
1
or
system('sumo-gui')
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by sumo-gui)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by sumo-gui)
sumo-gui: /usr/local/MATLAB/R2016a/bin/glnxa64/libtiff.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libFOX-1.6.so.0)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libgdal.so.1)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libgdal.so.1)
sumo-gui: /usr/local/MATLAB/R2016a/bin/glnxa64/libtiff.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.58)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.58)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libgeos_c.so.1)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libkmlbase.so.1)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libkmlbase.so.1)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libkmldom.so.1)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libkmldom.so.1)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libkmlengine.so.1)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libkmlengine.so.1)
sumo-gui: /usr/local/MATLAB/R2016a/bin/glnxa64/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libpq.so.5)
sumo-gui: /usr/local/MATLAB/R2016a/bin/glnxa64/libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libpq.so.5)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libdapclient.so.6)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libdapclient.so.6)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libdap.so.17)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libdap.so.17)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libgeos-3.5.0.so)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libgeos-3.5.0.so)
sumo-gui: /usr/local/MATLAB/R2016a/sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55)
ans =
1
Using
export LD_LIBRARY_PATH=/usr/local/lib
also does not help.
Matlab is messing with the LD_LIBRARY_PATH when you use the standard matlab script located in the bin dir of the matlab installation. Try starting bin/<arch>/MATLAB (in my case bin/glnxa64/MATLAB) directly.
Related
I have insalled chef workstation on aws ec2 instance. When i try to generate cookbook it gives error. I am unable to figure out problem. I have also attached picture. Guide me about this error.
/opt/chef-workstation/embedded/bin/ruby: /lib64/libcrypt.so.1: version `XCRYPT_2.0' not found (required by /opt/chef-workstation/embedded/lib/libruby.so.3.0)
/opt/chef-workstation/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /opt/chef-workstation/embedded/lib/libruby.so.3.0)
/opt/chef-workstation/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /opt/chef-workstation/embedded/lib/libruby.so.3.0)
How do I install Glibc 2.28 on linux ? I've looked for different ways and I couldn't.
I need it to start a bedrock minecraft server on a vps.
If you know an easier way to open a server with minecraft bedrock plugins, please tell me, I've been trying for 3 days, I've already created about 8 instances just to start over. Newbie on linux haha!
IBC_2.28' not found (required by node)
wine: cannot find './bedrock_server.exe'
node: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
wine: cannot find './bedrock_server.exe'
node: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
wine: cannot find './bedrock_server.exe'
node: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
wine: cannot find './bedrock_server.exe'
node: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
wine: cannot find './bedrock_server.exe'
node: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
wine: cannot find './bedrock_server.exe'
node: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
wine: cannot find './bedrock_server.exe'
node: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
wine: cannot find './bedrock_server.exe'
node: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
wine: cannot find './bedrock_server.exe'
node: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
How do I install Glibc 2.28 on linux ?
You don't.
Instead, select a distribution which has that version (or newer) and use it.
You can find which distribution has which version of GLIBC on http://distrowatch.com
Since you tagged your question with ubuntu-18.04, it came with GLIBC-2.27. You want any newer Ubuntu, e.g. 20.04 (GLIBC-2.31), etc.
I have been trying to install node js to my shared hosting server with cpanel. I have been successful to download and install node but every time try to access node via terminal it throws errors like
node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.16' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)
I have even downloaded glibc_2.14 via wget and also unzipped everything in the directory: /home/glibc_2.14/configuration/
Now I am quite confused what should i do with these files?
When i do echo $LD_LIBRARY_PATH it returns an empty string
I just want to update my glibc on my cpanel. please help... I have been trying this for so long now :(
These errors:
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)
mean that the node binary you are trying to install was build on a GLIBC-2.28 or later system, using GCC-5.1.0 (ABI reference).
You are trying to run that binary on a machine with GCC-4.4.2 and GLIBC older than 2.14. That's not going to work.
Trying to use GLIBC-2.14 isn't going to work either -- you need at least GLIBC-2.28.
You really shouldn't be running such an old OS -- there are many vulnerabilities that have long been fixed since then. Your best bet is to upgrade your OS to something more modern, and then install node compiled specifically for that OS.
It's possible to work around this by setting LD_LIBRARY_PATH and using patchelf appropriately (see this answer), but I doubt you'll succeed with that approach.
try this:
sudo apt-get remove nodejs
nvm i 16
sudo apt-get install nodejs
sudo apt-get install npm
node -v
npm -v
nvm -v
run it several times , clean cache and relaunch the system several times
I installed node.js on godaddy linux server as per the instructions given in:
https://ferugi.com/blog/nodejs-on-godaddy-shared-cpanel/
When I run the command: node --version, I get the errors:
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.16' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by node)
While it seems that my libraries are outdated, I don't know how to update the libraries on a linux shared server. apt does not work. Any solution for this?
As I learned that libc version is strongly tied with the distribution version. It's not possible to update libc along. Updating the distribution is too complicated, I suggest you download a lower version nodejs binary to be compatible with your OS version.
I installed Maple and give it the path to MATLAB and now MATLAB can't start. It looks like MATLAB is trying to find something but can't.
I am running Ubuntu 18.04.
Here is the output when I run the MATLAB command in the terminal:
/usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB: /home/lucasrj/maple2020/bin.X86_64_LINUX/system/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB)
/usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB: /home/lucasrj/maple2020/bin.X86_64_LINUX/system/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB)
/usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB: /home/lucasrj/maple2020/bin.X86_64_LINUX/system/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/local/MATLAB/R2020a/bin/glnxa64/libmwi18n.so)
/usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB: /home/lucasrj/maple2020/bin.X86_64_LINUX/system/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/MATLAB/R2020a/bin/glnxa64/libmwi18n.so)
/usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB: /home/lucasrj/maple2020/bin.X86_64_LINUX/system/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/MATLAB/R2020a/bin/glnxa64/libmwmvm.so)
/usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB: /home/lucasrj/maple2020/bin.X86_64_LINUX/system/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/local/MATLAB/R2020a/bin/glnxa64/libmwmvm.so)
/usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB: /home/lucasrj/maple2020/bin.X86_64_LINUX/system/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/local/MATLAB/R2020a/bin/glnxa64/libmwservices.so)
/usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB: /home/lucasrj/maple2020/bin.X86_64_LINUX/system/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/MATLAB/R2020a/bin/glnxa64/libmwservices.so)
/usr/local/MATLAB/R2020a/bin/glnxa64/MATLAB: /home/lucasrj/maple2020/bin.X86_64_LINUX/system/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/local/MATLAB/R2020a/bin/glnxa64/libmwcpp11compat.so)
Many more similar lines are produced, I've put the full output in pastebin.