PIE Engine log reporting GLIBC_2.14 not found error

Billy McMullinBilly McMullin Posts: 57 admin

After performing the installation of PIE on your Linux machine, you may see in the engine.log file from the PIE Administration this output:

[Error: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by
/home/proserve/parasoft/pie/node_modules/node-red/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node)]
js-bson: Failed to load c++ bson extension, using pure JS version

Or you may see this output:

[Error: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by
/home/proserve/parasoft/pie/node_modules/node-red/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build/Release/bson.node)]
js-bson: Failed to load c++ bson extension, using pure JS version

The reason for these issues is because some Linux distributions may not have same version of GLIBC symbols that mongoDB pr Mongoose needs. The solution for this is to uninstall and reinstall those modules using built-in package manager.

Please follow these steps if configured for MongoDB:
1. Open a console or command prompt and goto $PIE_HOME/node_modules/node-red
2. Run ../../bin/npm uninstall mongodb mongoose
3. Run ../../bin/npm install mongodb [email protected]
4. Restart PIE server.

Sign In or Register to comment.