"node: symbol lookup error" after update to 3.8.4

304 views
Skip to first unread message

Ilya Zub

unread,
Jan 12, 2014, 4:42:34 AM1/12/14
to mongoo...@googlegroups.com
Good morning, guys.

After upgrade of mongoose to the v3.8.4, application don't starting with error: 
node: symbol lookup error: /home/malecula/Workspace/Study/course-project/where-to-buy/server/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build/Release/bson.node: undefined symbol: _ZN2v86Object8ForceSetENS_6HandleINS_5ValueEEES3_NS_17PropertyAttributeE

I rebuilt bson in mongodb and mquery/node_modules/mongodb dependencies (thought, it'd help, but not).
Log of manual rebuild:
node-gyp clean
gyp info it worked if it ends with ok
gyp info using node...@0.12.2
gyp info using no...@0.11.10 | linux | x64
gyp info ok 
node-gyp configure build
gyp info it worked if it ends with ok
gyp info using node...@0.12.2
gyp info using no...@0.11.10 | linux | x64
gyp info spawn python
gyp info spawn args [ '/home/malecula/.nvm/v0.11.10/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/malecula/Workspace/Study/course-project/where-to-buy/server/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/malecula/.nvm/v0.11.10/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/malecula/.node-gyp/0.11.10/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/malecula/.node-gyp/0.11.10',
gyp info spawn args   '-Dmodule_root_dir=/home/malecula/Workspace/Study/course-project/where-to-buy/server/node_modules/mongoose/node_modules/mongodb/node_modules/bson',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make[1]: Вхожу у каталог "/home/malecula/Workspace/Study/course-project/where-to-buy/server/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build"
  CXX(target) Release/obj.target/bson/ext/bson.o
In file included from ../ext/bson.cc:14:0:
/home/malecula/.node-gyp/0.11.10/deps/v8/include/v8.h: In member function ‘void v8::ReturnValue<T>::Set(uint32_t)’:
/home/malecula/.node-gyp/0.11.10/deps/v8/include/v8.h:5816:31: warning: typedef ‘I’ locally defined but not used [-Wunused-local-typedefs]
   typedef internal::Internals I;
                               ^
  SOLINK_MODULE(target) Release/obj.target/bson.node
  SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
  COPY Release/bson.node
make[1]: Залишаю каталог "/home/malecula/Workspace/Study/course-project/where-to-buy/server/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build"
gyp info ok

Can somebody advice how to fix symbol lookup error and explain what does this mean, please?

Ilya Zub

unread,
Jan 12, 2014, 4:45:29 AM1/12/14
to mongoo...@googlegroups.com

Bill Zhang

unread,
Jan 17, 2014, 10:21:16 AM1/17/14
to mongoo...@googlegroups.com

Just downgrade DB driver to 1.3.19. it is working for me.

Aaron Heckmann

unread,
Jan 17, 2014, 12:45:01 PM1/17/14
to mongoo...@googlegroups.com
I've pinged the bson module author. Hopefully we'll have a fix soon.


--
Documentation - http://mongoosejs.com/
Plugins - http://plugins.mongoosejs.com/
Bug Reports - http://github.com/learnboost/mongoose
Production Examples - http://mongoosejs.tumblr.com/
StackOverflow - http://stackoverflow.com/questions/tagged/mongoose
Google Groups - https://groups.google.com/forum/?fromgroups#!forum/mongoose-orm
Twitter - https://twitter.com/mongoosejs
IRC - #mongoosejs
---
You received this message because you are subscribed to the Google Groups "Mongoose Node.JS ODM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongoose-orm...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Reply all
Reply to author
Forward
0 new messages