Questions and Answers :
Unix/Linux :
Error while loading libstdc++ library
Message board moderation
Author | Message |
---|---|
Send message Joined: 20 Nov 18 Posts: 20 Credit: 816,342 RAC: 1,139 |
Hello, I have five failed UK Met Office HadCM3 short v8.34 i686-pc-linux-gnu tasks with the same error process exited with code 127 (0x7f, -129)</message> <stderr_txt> ../../projects/climateprediction.net/hadcm3s_8.34_i686-pc-linux-gnu: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Boinc version 7.9.3 and is running on 64bit Linux Mint 19.1 with 4.15.0-45-generic kernel. Does it mean particular library is missing? |
Send message Joined: 15 May 09 Posts: 4535 Credit: 18,970,055 RAC: 21,846 |
Hi Hal, The executables from the met office are 32 bit and have some 32 bit dependencies. I haven't used Mint but it is worth looking at this thread which should help in tracking down and installing the required 32bit libs. https://www.cpdn.org/cpdnboinc/forum_thread.php?id=8008#53055 It may not be too long till there are some 64bit tasks for Linux but, "not too long" in cpdn terms may be quite a while! Edit: At the moment on a 64 bit Linux installation, you won't get any tasks to run without installing these libraries. |
Send message Joined: 7 Aug 04 Posts: 2185 Credit: 64,822,615 RAC: 5,275 |
On Ubuntu 16.04 LTS this command worked to satisfy the dependencies sudo apt-get install lib32ncurses5 lib32z1 gcc-4.7-multilib However, Mint 19.1 is based on Ubuntu 18.04 LTS so may have different dependencies. You may be able to substitute lib32stdc++-6-dev for gcc-4.7-multilib in the above command. If that doesn't work, the output from that command may give you an explanation of what replacement dependency is needed. As a last resort, you can also do a sudo ldd on the hadcm3s executables (probably 2 of them with different names) and .so file in the (probably) /var/lib/boinc-client/projects/climateprediction.net directory to see what dependencies are left to be satisfied. |
Send message Joined: 15 Jan 06 Posts: 637 Credit: 26,751,529 RAC: 653 |
The last time I installed Ubuntu 16.04.5 (a couple of weeks ago), I could only get "sudo apt install lib32ncurses5 lib32z1" to work. At least it installs. Whether it runs the CPDN models remains to be seen, when they send me some. |
Send message Joined: 5 Sep 04 Posts: 7629 Credit: 24,240,330 RAC: 0 |
I use a disk from the cover of a computer magazine to get an installable version of each new version of Mint. I've got one for version 19, but I'm running 18.3 with the Cinnamon desktop, which works quite well, and I'm not fanatical about getting the latest of everything. BOINC is 7.6.31, and everything works "out of the box", without having to go looking for 32 bit stuff. Which is a bit of a pain, but way back when I did need that pesky file that you're missing, I dug out an old computer, installed 32 bit Linux, and copied the two files from there. |
Send message Joined: 15 May 09 Posts: 4535 Credit: 18,970,055 RAC: 21,846 |
At least it installs. Whether it runs the CPDN models remains to be seen, when they send me some. They run on my laptop which has a clean install of Ubuntu 18.10 on it. However with the steady withdrawal of 32 bit support, who knows what will happen with 19.04 next month. |
Send message Joined: 20 Nov 18 Posts: 20 Credit: 816,342 RAC: 1,139 |
On Ubuntu 16.04 LTS this command worked to satisfy the dependencies Library gcc-4.7-multilib was not available for me. However I had gcc-4.8-multilib available which I installed as well as lib32stdc++-6-dev. I am not getting any tasks at the moment but once I get something to crunch I will post update. |
©2024 cpdn.org