If you get the following error,
Please specify LD_LIBRARY_PATH as follows on starting skedler
usage : sudo LD_LIBRARY_PATH=<path> bin/skedler
Please ignore the above message if specified
module.js:460
return process.dlopen(module, path._makeLong(filename));
^
Error: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/skedler/node_modules/java/build/Release/nodejavabridge_bindings.node)
at Error (native)
at Object.Module._extensions..node (module.js:460:18)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/opt/skedler/node_modules/java/lib/nodeJavaBridge.js:21:16)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
To resolve
Skedler has dependencies on libstdc++ library. Following are the GLIBCXX versions the code depend on
libstdc++.so.6 on(GLIBCXX_3.4.9) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.15) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
To check the versions on your server. Please run the command
- For CentOS/RedHat
strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX
- For Debian/Ubuntu
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
If the version is not available, you need to update your GCC compiler.
Linux Operating system supported by Skedler are as follows,
- Ubuntu from 12.04 and above
- Debian from 7 and above
- CentOS from 7 and above
- Red Hat Enterprise Linux 7 and above
- CentOS 6 and Red Hat Enterprise Linux 6
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article