Questions and Answers :
Unix/Linux :
Solaris 10 : libstdc++.so.3
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 2 May 00 Posts: 74 Credit: 3,895,817 RAC: 0 ![]() |
I am really new to Solaris. Just installed Solaris 10 on a Netra T1 200. Got the lastest version of Seti and I got this : ld.so.1: ./boinc_4.19_sparc-sun-solaris2.7: fatal: libstdc++.so.3: open failed: No such file or directory Killed I did some googling, but I don't know enought about Linux / Solaris to get it to work. Anyone has a step by step on how to fix this ? thanks davis ![]() bi Xeon 3.06 2gig ram bi AMD Opteron 2210 4gig ram AMD X2 4200 2gig ram AMD X2 4800 1gig ram AMD Opteron 165 2gig ram ![]() |
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
You need to install the gcc (3.3 or 3.4.x) libs. On www.sunfreeware.com you will get the needed libgcc. You must install it, and set the LD_LIBRARY_PATH, if it is not include /usr/local/lib : "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ; export LD_LIBRARY_PATH" |
![]() Send message Joined: 2 May 00 Posts: 74 Credit: 3,895,817 RAC: 0 ![]() |
You need to install the gcc (3.3 or 3.4.x) libs. On www.sunfreeware.com you will get the needed libgcc. I went on www.sunfreeware.com, DL gcc-3.3.2-sol10-sparc-local and Install it. I did then LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ; export LD_LIBRARY_PATH But I still get ld.so.1: ./boinc_4.19_sparc-sun-solaris2.7: fatal: libstdc++.so.3: open failed: No such fi le or directory Killed Any advices ? thanks Davis (newbie on solaris) ![]() bi Xeon 3.06 2gig ram bi AMD Opteron 2210 4gig ram AMD X2 4200 2gig ram AMD X2 4800 1gig ram AMD Opteron 165 2gig ram ![]() |
![]() ![]() Send message Joined: 15 Apr 99 Posts: 1546 Credit: 3,438,823 RAC: 0 ![]() |
You need to install the gcc (3.3 or 3.4.x) libs. On www.sunfreeware.com you will get the needed libgcc. I dont know much about solaris but you could try an "ldd boinc_4.19_sparc-sun-solaris2.7" it will show you the needed libs and where to place them. regards Crunch3r ![]() Join BOINC United now! |
![]() Send message Joined: 2 May 00 Posts: 74 Credit: 3,895,817 RAC: 0 ![]() |
this is what I get : ldd boinc_4.19_sparc-sun-solaris2.7 libgen.so.1 => /lib/libgen.so.1 libsocket.so.1 => /lib/libsocket.so.1 libnsl.so.1 => /lib/libnsl.so.1 libstdc++.so.3 => (file not found) libm.so.1 => /lib/libm.so.1 libgcc_s.so.1 => (file not found) libc.so.1 => /lib/libc.so.1 libmp.so.2 => /lib/libmp.so.2 libmd5.so.1 => /lib/libmd5.so.1 libscf.so.1 => /lib/libscf.so.1 libdoor.so.1 => /lib/libdoor.so.1 libuutil.so.1 => /lib/libuutil.so.1 libm.so.2 => /lib/libm.so.2 /platform/SUNW,UltraAX-i2/lib/libc_psr.so.1 /platform/SUNW,UltraAX-i2/lib/libmd5_psr.so.1 This is more than I can understand. ![]() bi Xeon 3.06 2gig ram bi AMD Opteron 2210 4gig ram AMD X2 4200 2gig ram AMD X2 4800 1gig ram AMD Opteron 165 2gig ram ![]() |
![]() ![]() Send message Joined: 15 Apr 99 Posts: 1546 Credit: 3,438,823 RAC: 0 ![]() |
ok well. fist you have to figure out where the gcc files have been installed to ( should be in /usr/lib/gcc/). Then link the libstdc++.so.3 from the installed directory to /lib the same for libgcc_s.so.1. or simply copy those two files to /lib. that should be it or if there is only a file called libstdc++.so copy it to /lib and rename it to libstdc++.so.3 same goes for the libgcc_s.so.1 regards Crunch3r ![]() Join BOINC United now! |
![]() Send message Joined: 2 May 00 Posts: 74 Credit: 3,895,817 RAC: 0 ![]() |
Thanks, it is working THANKS A MILLION Davis ![]() bi Xeon 3.06 2gig ram bi AMD Opteron 2210 4gig ram AMD X2 4200 2gig ram AMD X2 4800 1gig ram AMD Opteron 165 2gig ram ![]() |
![]() ![]() Send message Joined: 15 Apr 99 Posts: 1546 Credit: 3,438,823 RAC: 0 ![]() |
Thanks, it is working Nice to hear. Keep on crunching :) But you should do the same procedure for the seti app. Just try a "ldd" against the seti app. to make sure all libs are there. regards Crunch3r ![]() Join BOINC United now! |
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
It is not the usual/good way. Normal you can install the packages via packagemanager. If you copy the libs to different directories, you must handle it by hand on updates, or other things. For this is LD_LIBRARY_PATH thought ! Freeware from sunfreeware mostly installs to /opt/sfw or /usr/local. Then set/expand the LD_LIBRARY_PATH to /opt/sfw/lib and /usr/local/lib in the file /etc/profile. If you wan't to attach more than one project, you must eventualy increase shared memory. |
![]() Send message Joined: 2 Oct 05 Posts: 4 Credit: 4,446 RAC: 0 ![]() |
The fastest & easiest way to solve this problem, even after installing GCC is the following. ln -s /opt/sfw/lib/libstdc++.so.(whatever your version is) /usr/lib/ libstdc++.so.3 Boinc will recognize the library, and all is well. (It works on my ULTRA 10 w/Solaris 10 just fine) The Solaris GCC package will default to /opt/sfw using pkgadd in Solaris 10. If you don't like modifyint your LD_PATH env, you can do the same for all the others as well. ln -s /opt/sfw/bin/* /usr/bin ln -s /opt/sfw/lib/* /usr/lib HAL 9000: What are you doing with that Windo$e CD Dave? Dave?????? DAVE!!!!!!!!! |
![]() Send message Joined: 2 Oct 05 Posts: 4 Credit: 4,446 RAC: 0 ![]() |
The fastest & easiest way to solve this problem, even after installing GCC is the following. ls -s /opt/sfw/lib/libstdc++.so.(whatever your version is) /usr/lib/ libstdc++.so.3 Boinc will recognize the library, and all is well. (It works on my ULTRA 10 w/Solaris 10 just fine) The Solaris GCC package will default to /opt/sfw using pkgadd in Solaris 10. If you don't like modifyint your LD_PATH env, you can do the same for all the others as well. ln -s /opt/sfw/bin/* /usr/bin ln -s /opt/sfw/lib/* /usr/lib HAL 9000: What are you doing with that Windo$e CD Dave? Dave?????? DAVE!!!!!!!!! |
![]() Send message Joined: 26 Sep 99 Posts: 24 Credit: 924,339 RAC: 0 ![]() |
You need to install the gcc (3.3 or 3.4.x) libs. On www.sunfreeware.com you will get the needed libgcc. On Solaris 10 you need usually not at all to install any gcc from sunfreeware or the companion CD (distribution). If you install a Solaris 10 completely (not a reduced minimum cluster package version, but with development tools), you will find a Sun adapted gcc 3.4.3 branch sol10 (this was necessary primarily for AMD64 systems, but is there too on SPARC systems) in /usr/sfw (unfamiliar location, I know), so /usr/sfw/bin/gcc resp. /usr/sfw/bin/g++ and the /usr/sfw/lib and sub directory amd64 or sparcv9 (depends on architecture) contains the required libs of gcc/g++ (libgcc, which is essentially compatible at least between all 3 and 4 versions of gcc, and libstc++, which is essentially incompatible for any different g++ version). My advice is using a softlink, if you happen to get a dated, dynamically linked Solaris binary against an older version, for example libstdc++.so.3 -> libstdc++.so.6, reverse this will never work anyway. On older Solaris versions you have indeed to install a gcc from sunfreeware, the companion or compile it yourself. |
©2025 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.