Questions and Answers :
Unix/Linux :
fatal: libstdc++.so.3: open failed
Message board moderation
Author | Message |
---|---|
Seth Hornstein Send message Joined: 16 May 99 Posts: 3 Credit: 382,515 RAC: 0 ![]() |
hello, I have a sunblade-1000 runing Solaris 5.9. I just downloaded the new BOINC version of S@H today and after gunziping it and chmoding it, when I try to run it, I get the following error: ----Begin Error Message----- ld.so.1: ./boinc_3.18_sparc-sun-solaris2.7: fatal: libstdc++.so.3: open failed: No such file or directory Killed ----End Error Message------- I don't have any administrative access on the terminal and am just trying to run it as a user. Is there anyway I can get this to work without making system changes? TIA! seth |
![]() ![]() Send message Joined: 18 May 99 Posts: 378 Credit: 7,041 RAC: 0 ![]() |
Yes... it should be possible to get around this without making system-wide changes. Do you have a disk quota there? I think if you download glibc and gcc, compile them both, install them both into your home directory, edit your library path, and launch boinc... it'll work. That isn't exactly ideal, though. I'd report it to your sysadmin, though.. if they expect people to be able to use the system, they really should have glibc things on it. Rob |
albertw Send message Joined: 13 Apr 99 Posts: 8 Credit: 3,155,815 RAC: 0 ![]() |
Folks, I seem to remember this coming up in beta test, and its a little worrying that it isnt fixed yet. iirc AthlonRob is correct and you will need to install glibc, installing packages from sunfreeware.com may be easier than compiling from scratch if you can get administrator access, or have an administrator do it for you. boinc folks, can boinc be recompiled statically or set to use standard solaris dynamic libraries? I can help out with if needed. Cheers, ~Al |
Seth Hornstein Send message Joined: 16 May 99 Posts: 3 Credit: 382,515 RAC: 0 ![]() |
> Folks, I seem to remember this coming up in beta test, and its a little > worrying that it isnt fixed yet. iirc AthlonRob is correct and you will need > to install glibc, installing packages from sunfreeware.com may be easier than > compiling from scratch if you can get administrator access, or have an > administrator do it for you. > > boinc folks, can boinc be recompiled statically or set to use standard solaris > dynamic libraries? I can help out with if needed. > > Cheers, > ~Al > you are right, this did come up during beta testing. http://setiboinc.ssl.berkeley.edu/ap/forum_thread.php?id=1294 But this is a bit beyond my ability/knowledge. I have already contacted my sysadmin to see if the library is available somewhere already. However, since S@H is my own pet project on a bunch of unix boxes that go unused (but are left on) most of the evenings I am kind of on my own on this. The sysadmins have much more important things to work on and getting S@H is very low on that list. (I have already been scolded once by sysadmins for causing problems when running S@H.) So if it requires adding/making/compiling anything new, I am afraid I am not going to be able to continue to run boinc/S@H. |
albertw Send message Joined: 13 Apr 99 Posts: 8 Credit: 3,155,815 RAC: 0 ![]() |
Hi, Try putting the following two files from the gcc solaris 9 sparc package into the directory with the boinc executable: http://www.cademuir.net/libgcc_s.so.1 http://www.cademuir.net/libstdc++.so.3 Or compile them, or copy them from another box etc. etc. Then in the directory with the boinc exacutable and the libraries: LD_LIBRARYPATH=`pwd` export LD_LIBRARYPATH ./boinc_3.18_sparc-sun-solaris2.7 That should get you up and running without needing your sysadmin to do anything. Cheers, ~Al |
Seth Hornstein Send message Joined: 16 May 99 Posts: 3 Credit: 382,515 RAC: 0 ![]() |
> http://www.cademuir.net/libgcc_s.so.1 > http://www.cademuir.net/libstdc++.so.3 > > Then in the directory with the boinc exacutable and the libraries: > LD_LIBRARYPATH=`pwd` > export LD_LIBRARYPATH > ./boinc_3.18_sparc-sun-solaris2.7 YOU ROCK! This worked! I actually just created a directory in my home called ~/lib and put the two files there. Then modified my .cshrc (which already had the command setenv LD_LIBRARY_PATH /usr/local/lib/ to setenv LD_LIBRARY_PATH /usr/local/lib/:~/lib now it works! Thanks for everyone's help! |
lemonade lucy Send message Joined: 23 Sep 99 Posts: 73 Credit: 1,454,014 RAC: 0 ![]() |
> Hi, > > Try putting the following two files from the gcc solaris 9 sparc package into > the directory with the boinc executable: > > http://www.cademuir.net/libgcc_s.so.1 > http://www.cademuir.net/libstdc++.so.3 > > Or compile them, or copy them from another box etc. etc. > > Then in the directory with the boinc exacutable and the libraries: > LD_LIBRARYPATH=`pwd` > export LD_LIBRARYPATH > ./boinc_3.18_sparc-sun-solaris2.7 > > That should get you up and running without needing your sysadmin to do > anything. > > Cheers, > ~Al > > this solution did nothing for me and though it looks like nothing to miss, I must have missed something. ...and the thought of compiling back to 2.9.5 (from 3.4.1) or the like is simply unacceptable--I have apps that failed with pre3. any advice? thanks. |
Soeren Send message Joined: 3 Apr 99 Posts: 1 Credit: 973 RAC: 0 ![]() |
Depending on the shell you are using the syntax for LD_LIBRARY_PATH may be different. Just fell into this trap myself. for tcshell it's LD_LIBRARY_PATH, not LD_LIBRARYPATH > > Hi, > > > > Try putting the following two files from the gcc solaris 9 sparc package > into > > the directory with the boinc executable: > > > > http://www.cademuir.net/libgcc_s.so.1 > > http://www.cademuir.net/libstdc++.so.3 > > > > Or compile them, or copy them from another box etc. etc. > > > > Then in the directory with the boinc exacutable and the libraries: > > =`pwd` > > export LD_LIBRARYPATH > > ./boinc_3.18_sparc-sun-solaris2.7 > > > > That should get you up and running without needing your sysadmin to do > > anything. > > > > Cheers, > > ~Al > > > > > > this solution did nothing for me and though it looks like nothing to miss, I > must have missed something. ...and the thought of compiling back to 2.9.5 > (from 3.4.1) or the like is simply unacceptable--I have apps that failed with > pre3. > > any advice? > > thanks. > > > > |
john e bean ![]() Send message Joined: 27 Aug 99 Posts: 4 Credit: 501,044 RAC: 0 ![]() |
I am getting the libgcc_s.so.1 not found msg under Redhat linux 7.3. I am trying to install this bionc thing because it appears to be the only way to continue contributing to seti. I am NOT unix guru...the advice I see on this topic appear to a way to confuse my system about the libraies (I already have) are. Does this mean I am hopeless to continue with seti? Note, I received no emails or other notification that this conversion was even going on. I wasted a couple of days assuming it was just a server down problem. I know I am ragging, but sheesh, this cutover is difficult for novice linux users like myself. I need something that just installs without getting who knows what versions of some libs I alreay have. Will the boinc install be corrected? Soon? my cpuS are waiting... > Yes... it should be possible to get around this without making system-wide > changes. Do you have a disk quota there? I think if you download glibc and > gcc, compile them both, install them both into your home directory, edit your > library path, and launch boinc... it'll work. > > That isn't exactly ideal, though. > > I'd report it to your sysadmin, though.. if they expect people to be able to > use the system, they really should have glibc things on it. > > Rob > > |
wumpus Send message Joined: 3 Apr 99 Posts: 3 Credit: 420,330 RAC: 0 ![]() |
I am on a Sunblade 100, 2Gb ram, Solaris 9 u7. I got the link to the GCC libraries going using crle -l /usr/lib -l /opt/local/lib I had to reboot also. This method seem to have changed on Solaris 8 and later. crle - configure runtime linking enviroment. I just used the latest GCC off of www.sunfreeware.com libgcc 3.4.1 |
spex Send message Joined: 17 May 99 Posts: 1 Credit: 2,294,433 RAC: 0 ![]() |
I have gcc-3.4.1 installed (SPARC Solaris 2.9), and there is no libstdc++.so.3 file. Instead I created a symbolic link to the ligstdc++.so.6 file which came with the gcc I installed. You could probably put the symbolic link anywhere, and add the path to your LD_LIBRARY_PATH variable: cd ~/lib ln -s /usr/local/lib/libstdc++.so.6 libstdc++.so.3 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/lib <pre> s p e x I * j u s t * w a n t * a * l i t t l e * p a s s i o n * t o * h o l d * m e * i n * t h e * d a r k * </pre> |
Archmage Send message Joined: 3 Apr 99 Posts: 2 Credit: 8,889 RAC: 0 ![]() |
Ok, so I copied in the files, and changed the LD_LIBRARY_PATH environment (I'm using tcsh), and now it runs, but it doesn't do any. At all. And I can't break out; I have to kill the terminal. If I run it in the background, it still doesn't do anything but create a "lockfile" in the directory. I ran it once with no switches, and again with the -attach_project switch, and it never does anything. Any idea why? > Depending on the shell you are using the syntax for LD_LIBRARY_PATH may be > different. > > > > Try putting the following two files from the gcc solaris 9 sparc package into > > > the directory with the boinc executable: > > > > > > http://www.cademuir.net/libgcc_s.so.1 > > > http://www.cademuir.net/libstdc++.so.3 > > > |
©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.