[SERVER-11859] Solaris error: symbol _ZNSt12out_of_rangeD2Ev: referenced symbol not found Created: 26/Nov/13  Updated: 09/Jul/16  Resolved: 26/Nov/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.5.4
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ernie Hershey Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris


Issue Links:
Related
is related to SERVER-9964 mongod crashes when client disconnect... Closed
Backwards Compatibility: Fully Compatible
Operating System: Solaris
Participants:

 Description   

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


Generated at Thu Feb 08 03:26:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.