climateprediction.net home page
dlopen error: libz.so.1: cannot open shared object file: No such file or directory
dlopen error: libz.so.1: cannot open shared object file: No such file or directory
log in

Advanced search

Questions and Answers : Unix/Linux : dlopen error: libz.so.1: cannot open shared object file: No such file or directory

Author Message
AndCycle
Send message
Joined: 14 Aug 17
Posts: 2
Credit: 0
RAC: 0
Message 56687 - Posted: 14 Aug 2017, 12:34:16 UTC

I am wondering anyone on cpdn tackle this simple issue at all,

Unable to load library wah2_se_8.25_i686-pc-linux-gnu.so dlopen error: libz.so.1: cannot open shared object file: No such file or directory


as I moved to 64bits linux distro for a pretty long time ago,
they still send out job that require some 32bits lib on my machine,

although I can build zlib with 32bit libs make it happy,
but this is not really good at all about how cpdn dispatch job

AndCycle
Send message
Joined: 14 Aug 17
Posts: 2
Credit: 0
RAC: 0
Message 56688 - Posted: 14 Aug 2017, 12:39:15 UTC
Last modified: 14 Aug 2017, 12:39:25 UTC

by the way, this triggered a boinc_client bug on my machine,

kind of effort help debugging boinc_client

Profile Dave Jackson
Send message
Joined: 15 May 09
Posts: 1783
Credit: 2,671,578
RAC: 898
Message 56689 - Posted: 14 Aug 2017, 14:55:36 UTC - in response to Message 56688.
Last modified: 14 Aug 2017, 15:06:46 UTC

This is because CPDN requires certain 32bit libraries.

For UBUNTU varients and presumably other apt based distributions this works.

sudo apt-get install lib32ncurses5 lib32z1 gcc-4.7-multilib

For more discussion on this topic which will explain further see

http://climateapps2.oerc.ox.ac.uk/cpdnboinc/forum_thread.php?id=8008

Part of the problem is that the main code belongs to the met office and is used under license. CPDN then interact with that using a version of C. They don't have a license to tinker with the Fortran code. If they had the funding, they might be able to get a replacement written but with over 1,million lines of Fortran code this would take considerable time for writing plus debugging and presumably when us Linux users are a minority of crunchers this is not seen as a priority.

It has been suggested that the libraries could be packaged with tasks. I suspect this would be easier than replacing the Fortran which certainly is the short to medium term is not likely to be considered.

Questions and Answers : Unix/Linux : dlopen error: libz.so.1: cannot open shared object file: No such file or directory


Main page · Your account · Message boards


Copyright © 2017 climateprediction.net