Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

clang: error: linker command failed with exit code 1 (use -v to see invocation) #23

Open
zhu956645239 opened this issue Apr 27, 2022 · 0 comments

Comments

@zhu956645239
Copy link

/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘VTT for std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find_first_not_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::assign(char const*)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string()@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_erase(unsigned long, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::append(char const*)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::compare(char const*) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘vtable for std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::rfind(char, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct(unsigned long, char)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::copy(char*, unsigned long, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::compare(unsigned long, unsigned long, char const*) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘VTT for std::__cxx11::basic_istringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::reserve(unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘vtable for std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::resize(unsigned long, char)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::push_back(char)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find(char, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::substr(unsigned long, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘VTT for std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::operator=(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&&)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::compare(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘vtable for std::__cxx11::basic_istringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_stringbuf<char, std::char_traits, std::allocator >::_M_sync(char*, unsigned long, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘operator delete(void*, unsigned long)@CXXABI_1.3.9’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::basic_istream<char, std::char_traits >& std::getline<char, std::char_traits, std::allocator >(std::basic_istream<char, std::char_traits >&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, char)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::swap(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘operator delete[](void*, unsigned long)@CXXABI_1.3.9’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘vtable for std::__cxx11::basic_stringbuf<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_stringbuf<char, std::char_traits, std::allocator >::str() const@GLIBCXX_3.4.21’未定义的引用
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: Command failed: clang /opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/src/run.cc -o /opt/lock/lock.js/app.o -I/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/node-v13.12.0/include/node -std=c++11 '-DSCRIPT=""use strict";function tryExtensions(e,t){var r=[".js",".json",".node"],n=!0,i=!1,o=void 0;try{for(var a,s=rSymbol.iterator;!(n=(a=s.next()).done);n=!0){var f=a.value,c=""+e+f;if(t.has(c)&&t.get(c).stat.isFile())return c}}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return!1}function tryIndex(e,t){if(!e)return!1;var r=["index.js","index.json","index.node"];e.endsWith("/")&&(e=e.slice(0,-1));var n=!0,i=!1,o=void 0;try{for(var a,s=rSymbol.iterator;!(n=(a=s.next()).done);n=!0){var f=a.value,c=e+"/"+f;if(t.has(c)&&t.get(c).stat.isFile())return c}}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return!1}function tryPackage(e,t){var r=void 0,n=e+"/package.json";if(t.has(n)&&t.get(n).stat.isFile()){if(!(r=JSON.parse(t.get(n).content).main))return!1;if(r=path.resolve(e,r),t.has(r))return r}var i=tryExtensions(r,t);if(i)return i;var o=tryIndex(r,t);return o||!1}function getDecrypedLength(e){return e=e.toString(),Number(e.slice(e.lastIndexOf("$")+1))}function decrypt(e,t){"string"!=typeof e&&(e=e.toString());var r="",n=crypto.createDecipher("rc4",t);return r+=n.update(e,"hex"),r+=n.final()}function stripBOM(e){return 65279===e.charCodeAt(0)?e.slice(1):e}function getHavePrefixKeys(e,t){return Array.from(e.keys()).filter(function(e){return String(e).startsWith(t)})}function removeTrailingSlash(e){return e.endsWith("/")&&(e=e.slice(0,e.length-1)),e}function throwOptionsError(e){throw new TypeError("Expected options to be either an object or a string, but got "+(void 0===e?"undefined":_typeof(e))+" instead")}function assertEncoding(e){if(e&&!Buffer.isEncoding(e))throw new Error("Unknown encoding: "+e)}function cleanup(e,t){e&&console.error(e.stack),fs.existsSync(addonsDir)&&(fs.readdirSync(addonsDir).forEach(function(e){var t=addonsDir+"/"+e;fs.statSync(t).isDirectory()?cleanup(t):fs.unlinkSync(t)}),fs.rmdirSync(addonsDir)),process.exit(e?1:t)}function formatStat(e){var t=!0,r=!1,n=void 0;try{for(var i,o=statTimeKeysSymbol.iterator;!(t=(i=o.next()).done);t=!0){var a=i.value;e[a]=new Date(e[a])}}catch(e){r=!0,n=e}finally{try{!t&&o.return&&o.return()}finally{if(r)throw n}}var s=!0,f=!1,c=void 0;try{for(var u,l=methodsNameSymbol.iterator;!(s=(u=l.next()).done);s=!0)!function(){var t=u.value,r=e[t];e[t]=function(){return r}}()}catch(e){f=!0,c=e}finally{try{!s&&l.return&&l.return()}finally{if(f)throw c}}return e}function generateVirtualPath(e){return e=removeTrailingSlash(e),path.isAbsolute(e)?path.resolve(e):path.resolve(process.cwd(),e)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},crypto=require("crypto"),path=require("path"),fs=require("fs"),util=require("util"),stream=require("stream"),os=require("os"),statTimeKeys=["atime","mtime","ctime","birthtime"],methodsName=["isFile","isDirectory","isBlockDevice","isCharacterDevice","isSymbolicLink","isFIFO","isSocket"],addonsDir=path.join(os.tmpdir(),Date.now()+"-lockjs-addons");!function(){function e(t,r){if(!(this instanceof e))return new e(t,r);if(void 0===r)r={};else if("string"==typeof r)r={encoding:r};else if(null===r||"object"!==(void 0===r?"undefined":_typeof(r)))throw new TypeError("options argument must be a string or an object");if(r=Object.create(r),void 0===r.highWaterMark&&(r.highWaterMark=65536),stream.Readable.call(this,r),this.path=t,this.options=r,this.start=r.start||0,this.end=r.end||Buffer.byteLength(o.get(t).content)-1,this.bytesRead=0,this.pos=0,void 0!==this.start){if("number"!=typeof this.start)throw new TypeError("start option must be a Number");if("number"!=typeof this.end)throw new TypeError("end option must be a Number");if(this.start>this.end)throw new Error("start option must be <= end option");this.pos=this.start}Buffer.isBuffer(o.get(t).content)?this.buf=o.get(t).content.slice(this.start,this.end+1):this.buf=new Buffer(o.get(t).content).slice(this.start,this.end+1)}for(var t=[],r=process.argv[1],n=2;n<=6&&process.argv[n];n++)t.push(new Buffer(process.argv[n]));t=Buffer.concat(t);var i=0,o=new Map,a=new Map,s=void 0,f=new Buffer(20);if(20!==t.copy(f,0,i,i+=20))throw new Error("unable to read encrypted key length.");f=getDecrypedLength(f);var c=new Buffer(f);if(t.copy(c,0,i,i+=f)!==f)throw new Error("unable to read encrypted key.");c=c.toString();var u=decrypt(c,r),l=""+r+u,d=new Buffer(20);if(20!==t.copy(d,0,i,i+=20))throw new Error("unable to read entry point length.");if(d=getDecrypedLength(d),s=new Buffer(d),t.copy(s,0,i,i+=d)!==d)throw new Error("unable to read entry point.");s=decrypt(s,l);var h=new Buffer(20);if(20!==t.copy(h,0,i,i+=20))throw new Error("unable to read file header length.");h=getDecrypedLength(h);var y=new Buffer(h);if(t.copy(y,0,i,i+=h)!==h)throw new Error("unable to read file header.");y=JSON.parse(decrypt(y,l)),Object.keys(y).forEach(function(e){var r=y[e],n=new Buffer(r.size);if(t.copy(n,0,i+r.offset,i+r.offset+r.size)!==r.size)throw new Error("unable to unlock "+e+".");var a=void 0;a=r.stat.isFile?r.stat.isBinary?new Buffer(n.toString(),"hex"):decrypt(n,l):null,o.set(path.resolve(process.cwd(),e),{stat:formatStat(r.stat),content:a})});var p=require.extensions[".js"];require.extensions[".js"]=function(e,t){if(!o.has(t))return p.call(require.extensions,e,t);var r=o.get(t).content;return e._compile(stripBOM(r),t)};var g=require.extensions[".json"];require.extensions[".json"]=function(e,t){if(!o.has(t))return g.call(require.extensions,e,t);var r=o.get(t).content;try{e.exports=JSON.parse(stripBOM(r))}catch(e){throw e.message=t+":"+e.message,e}},process.on("exit",function(e){return cleanup(null,e)}),process.on("SIGINT",function(){return cleanup(null,130)}),process.on("uncaughtException",function(e){return cleanup(e)});var v=require.extensions[".node"];require.extensions[".node"]=function(e,t){if(!o.has(t))return v.call(require.extensions,e,t);fs.existsSync(addonsDir)||fs.mkdirSync(addonsDir);var r=path.join(addonsDir,path.basename(t));return fs.writeFileSync(r,o.get(t).content),process.dlopen(e,path._makeLong(r))};var b=Object.getPrototypeOf(module).constructor._findPath;Object.getPrototypeOf(module).constructor._findPath=function(e,t,r){var n=JSON.stringify({request:e,paths:t});if(a.has(n))return a.get(n);var i=!0,s=!1,f=void 0;try{for(var c,u=tSymbol.iterator;!(i=(c=u.next()).done);i=!0){var l=c.value,d=e.length>0&&47===e.charCodeAt(e.length-1),h=path.resolve(l,e),y=void 0,p=void 0,g=void 0;if(!d){if(o.has(h)&&o.get(h).stat.isFile())return a.set(n,h),h;if(o.has(h)&&o.get(h).stat.isDirectory()&&(y=tryPackage(h,o)))return a.set(n,y),y;if(p=tryExtensions(h,o))return a.set(n,p),p}if(y=tryPackage(h,o))return a.set(n,y),y;if(g=tryIndex(h,o))return a.set(n,g),g}}catch(e){s=!0,f=e}finally{try{!i&&u.return&&u.return()}finally{if(s)throw f}}return b.call(Object.getPrototypeOf(module).constructor,e,t,r)};var m=fs.readFileSync;Object.defineProperty(fs,"readFileSync",{get:function(){return function(e,t){t?"string"==typeof t?t={encoding:t,flag:"r"}:"object"!==(void 0===t?"undefined":_typeof(t))&&throwOptionsError(t):t={encoding:null,flag:"r"};var r=t.encoding;assertEncoding(r);var n=generateVirtualPath(e);if(!o.has(n))return m.call(fs,e,t);var i=new Buffer(o.get(n).content);return r?i.toString(r):i}}});var w=fs.readFile;Object.defineProperty(fs,"readFile",{get:function(){return function(e,t,r){t?"string"==typeof t?t={encoding:t,flag:"r"}:"object"!==(void 0===t?"undefined":_typeof(t))&&throwOptionsError(t):t={encoding:null,flag:"r"};var n=t.encoding;assertEncoding(n);var i=generateVirtualPath(e);if(!o.has(i))return w.call(fs,e,t,r);var a=new Buffer(o.get(i).content);return n?process.nextTick(r,null,a.toString(n)):process.nextTick(r,null,a)}}});var S=fs.readdir;Object.defineProperty(fs,"readdir",{get:function(){return function(e,t,r){if(t=t||{},"string"==typeof t&&(t={encoding:t}),"object"!==(void 0===t?"undefined":_typeof(t)))throw new TypeError("options must be a string or an object");var n=generateVirtualPath(e),i=getHavePrefixKeys(o,n);if(!i.length)return S.call(fs,e,t,r);process.nextTick(r,null,i.filter(function(e){return"/"===e[n.length]}).map(function(e){e=e.slice(n.length+1);var t=e.indexOf("/");return
t?e.slice(0,t):e}))}}});var x=fs.readdirSync;Object.defineProperty(fs,"readdirSync",{get:function(){return function(e,t){if(t=t||{},"string"==typeof t&&(t={encoding:t}),"object"!==(void 0===t?"undefined":_typeof(t)))throw new TypeError("options must be a string or an object");var r=generateVirtualPath(e),n=getHavePrefixKeys(o,r);return n.length?n.filter(function(e){return"/"===e[r.length]}).map(function(e){e=e.slice(r.length+1);var t=e.indexOf("/");return
t?e.slice(0,t):e}):x.call(fs,e,t)}}});var j=fs.stat;Object.defineProperty(fs,"stat",{get:function(){return function(e,t){var r=generateVirtualPath(e);return o.has(r)?process.nextTick(t,null,o.get(r).stat):j.call(fs,e,t)}}});var O=fs.statSync;Object.defineProperty(fs,"statSync",{get:function(){return function(e){var t=generateVirtualPath(e);return o.has(t)?o.get(t).stat:O.call(fs,e)}}});var P=fs.lstat;Object.defineProperty(fs,"lstat",{get:function(){return function(e,t){var r=generateVirtualPath(e);return o.has(r)?process.nextTick(t,null,o.get(r).stat):P.call(fs,e,t)}}});var E=fs.lstatSync;Object.defineProperty(fs,"lstatSync",{get:function(){return function(e){var t=generateVirtualPath(e);return o.has(t)?o.get(t).stat:E.call(fs,e)}}});var k=fs.exists;Object.defineProperty(fs,"exists",{get:function(){return function(e,t){var r=generateVirtualPath(e);return o.has(r)?process.nextTick(t,null,!0):k(e,t)}}});var B=fs.existsSync;Object.defineProperty(fs,"existsSync",{get:function(){return function(e){var t=generateVirtualPath(e);return!!o.has(t)||B(e)}}}),util.inherits(e,stream.Readable),e.prototype._read=function(e){if(!this.destroyed)return this.pos>=this.end?this.push(null):void this.push(this.buf.slice(this.pos,this.pos+=this._readableState.highWaterMark))};var D=fs.createReadStream;Object.defineProperty(fs,"createReadStream",{get:function(){return function(t,r){var n=generateVirtualPath(t);return o.has(n)?new e(t,r):D.call(fs,t,r)}}}),Object.getPrototypeOf(module).constructor._load(path.resolve(process.cwd(),s),null,!0)}();"' '-DPUBLIC_KEY="pu74y9jo5ge"' '-DSCRIPT_ARGC=8' -L/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared -lnode
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘VTT for std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find_first_not_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::assign(char const*)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::~basic_string()@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_erase(unsigned long, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::append(char const*)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >::~basic_stringstream()@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::compare(char const*) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘vtable for std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::rfind(char, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct(unsigned long, char)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::copy(char*, unsigned long, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::compare(unsigned long, unsigned long, char const*) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘VTT for std::__cxx11::basic_istringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::reserve(unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘vtable for std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::resize(unsigned long, char)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::push_back(char)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find(char, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::substr(unsigned long, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘VTT for std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::operator=(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&&)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::compare(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘vtable for std::__cxx11::basic_istringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_stringbuf<char, std::char_traits, std::allocator >::_M_sync(char*, unsigned long, unsigned long)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘operator delete(void*, unsigned long)@CXXABI_1.3.9’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::basic_istream<char, std::char_traits >& std::getline<char, std::char_traits, std::allocator >(std::basic_istream<char, std::char_traits >&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, char)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_string<char, std::char_traits, std::allocator >::swap(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&)@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘operator delete[](void*, unsigned long)@CXXABI_1.3.9’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘vtable for std::__cxx11::basic_stringbuf<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21’未定义的引用
/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/dist/13.12.0/shared/libnode.so:对‘std::__cxx11::basic_stringbuf<char, std::char_traits, std::allocator >::str() const@GLIBCXX_3.4.21’未定义的引用
clang: error: linker command failed with exit code 1 (use -v to see invocation)

at checkExecSyncError (child_process.js:643:11)
at execSync (child_process.js:679:15)
at module.exports (/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/lib/unlock.js:41:3)
at /opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/lib/index.js:34:14
at Generator.next (<anonymous>)
at onFulfilled (/opt/nodejs/node-v14.17.1-linux-x64/lib/node_modules/lockjs/node_modules/co/index.js:65:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {

status: 1,
signal: null,
output: [
null,
,
<Buffer 2f 6f 70 74 2f 6e 6f 64 65 6a 73 2f 6e 6f 64 65 2d 76 31 34 2e 31 37 2e 31 2d 6c 69 6e 75 78 2d 78 36 34 2f 6c 69 62 2f 6e 6f 64 65 5f 6d 6f 64 75 6c ... 10729 more bytes>
],
pid: 56637,
stdout: ,
stderr: <Buffer 2f 6f 70 74 2f 6e 6f 64 65 6a 73 2f 6e 6f 64 65 2d 76 31 34 2e 31 37 2e 31 2d 6c 69 6e 75 78 2d 78 36 34 2f 6c 69 62 2f 6e 6f 64 65 5f 6d 6f 64 75 6c ... 10729 more bytes>
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant