-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.5.4
-
Component/s: None
-
None
-
Environment:Solaris
-
Fully Compatible
-
Solaris
Entering this mainly for tracking the cause and workaround for these errors.
Trying to run any of our binaries in Solaris without the proper runtime linking environment results in undefined symbol errors such as those below.
To fix, install and reference a version of libstdc++ and runtime environment from somewhere like openCSW or Joyent (http://www.opencsw.org/package/libstdc++6/ or http://pkgsrc.joyent.com/sdc6/2011Q4/x86_64/All/gcc-runtime-4.6.2.tgz)
You can set the runtime linker search path with the environment variable LD_LIBRARY_PATH or permanently in the linker configuration with the crle command like so:
sudo cp -pri /var/ld/32/ld.config /var/ld/32/ld.config.bak sudo cp -pri /var/ld/64/ld.config /var/ld/64/ld.config.bak sudo crle -c /var/ld/32/ld.config -l /opt/local/lib:/lib:/usr/lib sudo crle -64 -c /var/ld/amd64/ld.config -l /opt/local/lib/amd64:/lib/64:/usr/lib/64
The errors:
Running authTest: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not found Killed Running bsondemo: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not found Killed Running bsondump: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running clientTest: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not found Killed Running firstExample: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not found Killed Running httpClientTest: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not found Killed Running mongo: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongobridge: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongod: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongodump: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongoexport: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongofiles: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongoimport: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongooplog: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongoperf: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongorestore: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongos: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongostat: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running mongotop: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running perftest: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running rsExample: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not found Killed Running secondExample: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not found Killed Running test: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Killed Running tutorial: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not found Killed Running whereExample: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not found Killed
- is related to
-
SERVER-9964 mongod crashes when client disconnects (OpenIndiana 157a8)
-
- Closed
-