[SERVER-11060] unable to start server with GCC 3.4.3 runtime libraries Created: 07/Oct/13 Updated: 10/Dec/14 Resolved: 28/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin, Build, Packaging |
| Affects Version/s: | 2.4.6 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Amy Cui | Assignee: | Benety Goh |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Solaris 10 64-bit Intel |
||
| Participants: |
| Description |
|
3 main issues identified with the GCC runtime libraries installed on the user's machine:
--------------- >./bin/mongod My env is SunOS Generic_127128-11 i86pc i386 i86pc Please advise how to fix this |
| Comments |
| Comment by Benety Goh [ 28/Oct/13 ] | |||
|
The version of GCC on the user's machine needs to be upgraded to 4.6.3 or newer. | |||
| Comment by Benety Goh [ 24/Oct/13 ] | |||
|
Hi Amy, Our Solaris binary is built using GCC 4.6.3. Do you have access to a machine with a more recent version of GCC? Thanks | |||
| Comment by Amy Cui [ 24/Oct/13 ] | |||
|
Hi Ben, Here are the details: >gcc -v >cat /etc/release >ls -l /usr/sfw/lib/64/libstdc++.so.6* > nm /usr/sfw/lib/64/libgcc_s.so.1 | grep GCC Thanks | |||
| Comment by Benety Goh [ 24/Oct/13 ] | |||
|
Hi Amy, 1) What version of GCC do you have installed?
Thanks | |||
| Comment by Amy Cui [ 23/Oct/13 ] | |||
|
Here is the output: | |||
| Comment by Benety Goh [ 22/Oct/13 ] | |||
|
Hi Amy, Let's see if there's a version of libgcc_s.so.1 on your system that we might be able to use. Could you please run: % find /lib /usr/lib /usr/sfw/lib -follow -type f -name "libgcc_s.so.1*" Thanks | |||
| Comment by Amy Cui [ 22/Oct/13 ] | |||
|
Hi Ben, I tried this: got below error: ld.so.1: mongod: fatal: libgcc_s.so.1: version `GCC_4.0.0' not found (required by file bin/mongod) 2) env LD_LIBRARY_PATH_64=/usr/sfw/lib/64 ./bin/mongod prints out my env varialbes and then garbage characters live below: Thanks | |||
| Comment by Benety Goh [ 22/Oct/13 ] | |||
|
Hi Amy, Could you please try running ./mongod like this? % env LD_LIBRARY_PATH_64=/usr/sfw/lib/64 ./bin/mongod Thanks | |||
| Comment by Amy Cui [ 22/Oct/13 ] | |||
|
Hi Ben, here is the output: >find /usr/sfw/ /usr/lib -follow -type f -name "libstdc++.so.6" set | grep LIBRARY_PATH | |||
| Comment by Benety Goh [ 22/Oct/13 ] | |||
|
Hi Amy, Could you please run the following commands on the amd64 machine? We'd like to figure out if you have the 64-bit version of libstdc++.so.6 installed. % uname -a Thanks | |||
| Comment by Amy Cui [ 22/Oct/13 ] | |||
|
Of course. Here is the file name: mongodb-sunos5-x86_64-2.4.6.tgz | |||
| Comment by Daniel Pasette (Inactive) [ 22/Oct/13 ] | |||
|
Did you download the binaries from http://downloads.mongodb.org? | |||
| Comment by Amy Cui [ 21/Oct/13 ] | |||
|
Any suggestions?? | |||
| Comment by Amy Cui [ 09/Oct/13 ] | |||
|
Dan, thanks for the reply. I tried in two unix boxes, looks like both of them are 64bit. but mongod won't start: >isainfo -kv >isainfo -kv Please advise. Amy | |||
| Comment by Daniel Pasette (Inactive) [ 09/Oct/13 ] | |||
|
can you check if you're running the 32-bit version of the OS? MongoDB only supports 64-bit Solaris version. Run: isainfo -v |